<Swing Dev> [11] RFR JDK-8186513:TESTBUG] javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Tue Feb 27 09:00:09 UTC 2018
Hi All,
Please review a testfix for an issue in which test fails citing
"background color is wrong" in windows, linux,mac.
It seems test tries to get the rgb value for screen capture from x=0 and
if it does not match the background color of Orange, then it fails.
Modified testcase to test the rgb value from x=1 position to avoid any
blending effect at the edge of windows.
Also, made the frame undecorated so that insets does not cause any
blending problem at the edge.
Tested in windows7, ubuntu17.10 and mac10.13.3 and it works fine.
Bug: https://bugs.openjdk.java.net/browse/JDK-8186513
webrev: http://cr.openjdk.java.net/~psadhukhan/8186513/webrev.00/
Regards
Prasanta
More information about the swing-dev
mailing list