We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4945378 commit 0863e28Copy full SHA for 0863e28
1 file changed
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatTableUI.java
@@ -39,6 +39,7 @@
39
import java.util.Map;
40
import javax.swing.Action;
41
import javax.swing.ActionMap;
42
+import javax.swing.Icon;
43
import javax.swing.JComponent;
44
import javax.swing.JScrollPane;
45
import javax.swing.JTable;
@@ -989,12 +990,14 @@ private static class FlatBooleanRenderer
989
990
991
FlatBooleanRenderer() {
992
setHorizontalAlignment( SwingConstants.CENTER );
- setIcon( new FlatCheckBoxIcon() {
993
+ Icon icon = new FlatCheckBoxIcon() {
994
@Override
995
protected boolean isSelected( Component c ) {
996
return selected;
997
}
- } );
998
+ };
999
+ setIcon( icon );
1000
+ setDisabledIcon( icon );
1001
1002
1003
0 commit comments