1 | if (isSelected) {↵ | | 1 | if (isSelected) {↵
|
2 | setBackground(list.getSelectionBackground());↵ | | 2 | setBackground(list.getSelectionBackground());↵
|
3 | setForeground(list.getSelectionForeground());↵ | | 3 | setForeground(list.getSelectionForeground());↵
|
|
4 | topPanel.setBackground(list.getSelectionBackground());↵ | | 4 | progressPanel.setBackground(list.getSelectionBackground());↵
|
5 | topPanel.setForeground(list.getSelectionForeground());↵ | | 5 | progressPanel.setForeground(list.getSelectionForeground());↵
|
6 | } else {↵ | | 6 | } else {↵
|
7 | setBackground(list.getBackground());↵ | | 7 | setBackground(list.getBackground());↵
|
8 | setForeground(list.getForeground());↵ | | 8 | setForeground(list.getForeground());↵
|
9 | topPanel.setBackground(list.getBackground());↵ | | 9 | progressPanel.setBackground(list.getBackground());↵
|
10 | topPanel.setForeground(list.getForeground());↵ | | 10 | progressPanel.setForeground(list.getForeground());↵
|
11 | } | | 11 | }
|