-
Bug
-
Resolution: Unresolved
-
P3
-
8, 11, 17, 21, 26
-
None
The issue is discovered in JDK-8316274
example of not displayed captions with
https://bugs.openjdk.org/secure/attachment/106474/window.png
how it should look like:
https://bugs.openjdk.org/secure/attachment/116609/toggleButtonsWithCaptions.png
Affects at least Metal, Nimbus, Motif and GTK LaFs
Note that the toggle buttons in window.png do not display captions 1 and 2.
However, the captions appear when I replace toggleButton.setAction with addActionListener ( see toggleButtonsWithCaptions.png, or run `java TestButtonGroupFocusTraversal.java 1`)
https://bugs.openjdk.org/secure/attachment/116610/TestButtonGroupFocusTraversal.java
example of not displayed captions with
https://bugs.openjdk.org/secure/attachment/106474/window.png
how it should look like:
https://bugs.openjdk.org/secure/attachment/116609/toggleButtonsWithCaptions.png
Affects at least Metal, Nimbus, Motif and GTK LaFs
Note that the toggle buttons in window.png do not display captions 1 and 2.
However, the captions appear when I replace toggleButton.setAction with addActionListener ( see toggleButtonsWithCaptions.png, or run `java TestButtonGroupFocusTraversal.java 1`)
https://bugs.openjdk.org/secure/attachment/116610/TestButtonGroupFocusTraversal.java
- relates to
-
JDK-8316274 javax/swing/ButtonGroup/TestButtonGroupFocusTraversal.java fails in Ubuntu 23.10 with Motif LAF
-
- Open
-