<Swing Dev> [9] Review request for 8136366 Add a public API to create a L&F without installation
Alexandr Scherbatiy
alexandr.scherbatiy at oracle.com
Thu Mar 31 06:50:28 UTC 2016
Hello,
Could you review the fix:
bug: https://bugs.openjdk.java.net/browse/JDK-8136366
webrev: http://cr.openjdk.java.net/~alexsch/8136366/webrev.00
Some Swing L&Fs are not public. It is not possible to create them
using reflection now in JDK 9 because of the modularization feature.
There are use cases when some information should be obtained from a
L&F without its installation
- check if L&F is supported
- take some defaults to use it in custom L&F
The proposed solution adds UIManager.createLookAndFeel(className)
method which allows to create a given L&F without installation.
Thanks,
Alexandr.
More information about the swing-dev
mailing list