RFR: 8372103: Metal JButton doesn't show focus if no text or icon [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Nov 25 05:27:37 UTC 2025
On Tue, 25 Nov 2025 04:14:43 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Initialisation fix
>
> test/jdk/javax/swing/plaf/metal/MetalFocusBug.java line 55:
>
>> 53: public static void main(String[] args) throws Exception {
>> 54: // Set Metal L&F
>> 55: UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
>
> EDT?
I could but it seems it is not done in other tests too for ex.
plaf/metal/MetalSliderUI/4186347/bug4186347.java
plaf/basic/BasicToolBarUI/bug4305622.java etc
so not needed strictly..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28408#discussion_r2558586240
More information about the client-libs-dev
mailing list