about summary refs log tree commit diff stats
path: root/client/trunk/src/com/fourisland/instadisc/IDSubscriptionListCellRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'client/trunk/src/com/fourisland/instadisc/IDSubscriptionListCellRenderer.java')
-rw-r--r--client/trunk/src/com/fourisland/instadisc/IDSubscriptionListCellRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/trunk/src/com/fourisland/instadisc/IDSubscriptionListCellRenderer.java b/client/trunk/src/com/fourisland/instadisc/IDSubscriptionListCellRenderer.java index 546f3ac..b08c556 100644 --- a/client/trunk/src/com/fourisland/instadisc/IDSubscriptionListCellRenderer.java +++ b/client/trunk/src/com/fourisland/instadisc/IDSubscriptionListCellRenderer.java
@@ -17,7 +17,7 @@ import javax.swing.ListCellRenderer;
17class IDSubscriptionListCellRenderer extends JLabel implements ListCellRenderer { 17class IDSubscriptionListCellRenderer extends JLabel implements ListCellRenderer {
18 18
19 public Component getListCellRendererComponent(JList arg0, Object arg1, int arg2, boolean arg3, boolean arg4) { 19 public Component getListCellRendererComponent(JList arg0, Object arg1, int arg2, boolean arg3, boolean arg4) {
20 this.setText(((Subscription) arg1).getTitle()); 20 this.setText(((Subscription) arg1).getTitle() + " (" + ((Subscription) arg1).getCategory() + ")");
21 21
22 if (arg3) { 22 if (arg3) {
23 this.setForeground(arg0.getSelectionForeground()); 23 this.setForeground(arg0.getSelectionForeground());