Hello,
Please review the fix for jdk10.

Bug: https://bugs.openjdk.java.net/browse/JDK-8075255
Webrev can be found at: http://cr.openjdk.java.net/~serb/8075255/webrev.01

In the fix the dependency of MetalLookAndFeel from WindowsLookAndFeel is broken.

The old DesktopProperty which contains the general functionality was moved to sun/swing/plaf/DesktopProperty.java. This class can be reused later by other platforms/l&f if needed.

The Windows/Metal specific functionality was placed in WindowsDesktopProperty(used in win L&F) and in MetalFontDesktopProperty(used in metal l&f). The new test was added to check that this functionality actually works.

--
Best regards, Sergey.

Reply via email to