<Swing Dev> [12] RFR [JDK-8212897] Some improvements in the EditorPaneDemotest
Muneer Kolarkunnu
abdul.kolarkunnu at oracle.com
Wed Oct 24 06:14:17 UTC 2018
Hi All,
Please review fix for the task:
Task: https://bugs.openjdk.java.net/browse/JDK-8212897
Webrev: http://cr.openjdk.java.net/~akolarkunnu/8212897/webrev.00/
Description:
1) In Nimbus L&F, background color is not white, but in the JEditorPane, always it will be white background if image is not available.
So changing the pixel color check to white instead of background color.
2) Adding assertNotBlack check for captured image, otherwise test will pass if whole image is black.
Regards,
Muneer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20181023/ca6166cd/attachment.html>
More information about the swing-dev
mailing list