Integrated: 8346260: Test "javax/swing/JOptionPane/bug4174551.java" failed because the font size of message "Hi 24" is not set to 24 in Nimbus LookAndFeel
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Jan 6 06:04:40 UTC 2025
On Fri, 3 Jan 2025 03:01:48 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> "OptionPane.buttonFont" and "OptionPane.messageFont" property are ignored for Nimbus L&F as for Nimbus, lookup calls initiated by BasicOptionPaneUI#configureButton and BasicOptionPaneUI#configureMessageLabel, were redirected via SynthContext so UIManager.getDefaults L&F properties were ignored..
> Added way to honor this properties for SynthOptionPaneUI..It could be later extended for other UI properties for other widgets which may need UIManager lookup..
This pull request has now been integrated.
Changeset: 93938978
Author: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9393897817a3280e08a8278b86df71f59608be9c
Stats: 10 lines in 2 files changed: 8 ins; 0 del; 2 mod
8346260: Test "javax/swing/JOptionPane/bug4174551.java" failed because the font size of message "Hi 24" is not set to 24 in Nimbus LookAndFeel
Reviewed-by: aivanov, dnguyen
-------------
PR: https://git.openjdk.org/jdk/pull/22908
More information about the client-libs-dev
mailing list