<Swing Dev> [12] RFR [JDK-8212897] Some improvements in the EditorPaneDemotest

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Oct 24 22:32:31 UTC 2018


Looks fine.

On 23/10/2018 23:14, Muneer Kolarkunnu wrote:
> 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
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list