changed colors for selected items BLD200311231900
authorlebedkov@netbeans.org
Sat, 22 Nov 2003 18:00:55 +0000
changeset 3702bbe561f0d6f5
parent 3701 52f457d48da7
child 3703 bc41dfa0e246
changed colors for selected items
tasklist.core/src/org/netbeans/modules/tasklist/core/PriorityListCellRenderer.java
     1.1 --- a/tasklist.core/src/org/netbeans/modules/tasklist/core/PriorityListCellRenderer.java	Sat Nov 22 17:51:22 2003 +0000
     1.2 +++ b/tasklist.core/src/org/netbeans/modules/tasklist/core/PriorityListCellRenderer.java	Sat Nov 22 18:00:55 2003 +0000
     1.3 @@ -44,7 +44,8 @@
     1.4              list, value, index, isSelected, cellHasFocus);
     1.5          if (index >= 0) {
     1.6              setText(TAGS[index]);
     1.7 -            setForeground(COLORS[index]);
     1.8 +            if (!isSelected)
     1.9 +                setForeground(COLORS[index]);
    1.10          } else {
    1.11              setText((String) value);
    1.12          }