|
|
@ -256,13 +256,6 @@ public class CheckBoxList extends JComponent { |
|
|
|
this.setBackground(list.getBackground()); |
|
|
|
this.setBackground(list.getBackground()); |
|
|
|
this.setForeground(list.getForeground()); |
|
|
|
this.setForeground(list.getForeground()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (cellHasFocus) { |
|
|
|
|
|
|
|
this.setBorder(UIManager.getBorder("List.focusCellHighlightBorder")); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.setBorder(NO_FOCUS_BORDER); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return this; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|