File tree 2 files changed +12
-1
lines changed
src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,18 @@ else if (type == ColorType.TEXT_FOREGROUND) {
286
286
}
287
287
}
288
288
}
289
+
290
+ if ((c instanceof JCheckBox ) && (state & SynthConstants .DISABLED ) != 0 ) {
291
+ if (UIManager .getColor ("CheckBox.disabledText" ) != null ) {
292
+ return UIManager .getColor ("CheckBox.disabledText" );
293
+ }
294
+ } else if ((c instanceof JRadioButton ) &&
295
+ (state & SynthConstants .DISABLED ) != 0 ) {
296
+ if (UIManager .getColor ("RadioButton.disabledText" ) != null ) {
297
+ return UIManager .getColor ("RadioButton.disabledText" );
298
+ }
299
+ }
300
+
289
301
return getColorForState (context , type );
290
302
}
291
303
Original file line number Diff line number Diff line change @@ -662,7 +662,6 @@ javax/swing/JFileChooser/6798062/bug6798062.java 8146446 windows-all
662
662
javax/swing/JPopupMenu/4870644/bug4870644.java 8194130 macosx-all,linux-all
663
663
javax/swing/dnd/8139050/NativeErrorsInTableDnD.java 8202765 macosx-all,linux-all
664
664
javax/swing/JEditorPane/6917744/bug6917744.java 8213124 macosx-all
665
- javax/swing/JRadioButton/4314194/bug4314194.java 8295006 linux-all
666
665
667
666
# Several tests which fail on some hidpi systems/macosx12-aarch64 system
668
667
java/awt/Window/8159168/SetShapeTest.java 8274106 macosx-aarch64
You can’t perform that action at this time.
1 commit comments
openjdk-notifier[bot] commentedon Dec 1, 2022
Review
Issues