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.


Reply via email to