<Swing Dev> [9] Review request for 8136366 Add a public API to create a L&F without installation

Phil Race philip.race at oracle.com
Thu Mar 31 22:36:58 UTC 2016


This looks good to me.

-phil.

On 03/30/2016 11:50 PM, 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