<Swing Dev> [9] Review request for 8136366 Add a public API to create a L&F without installation
Semyon Sadetsky
semyon.sadetsky at oracle.com
Fri Apr 1 06:38:43 UTC 2016
Looks good.
--Semyon
On 3/31/2016 9:50 AM, Alexandr Scherbatiy wrote:
>
> 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