< prev index next >

test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucent.java

Print this page

        

@@ -23,10 +23,11 @@
 
 import java.awt.*;
 
 /*
  * @test
+ * @bug 8164811
  * @key headful
  * @summary Check if a per-pixel translucent window is dragged and resized
  *          by mouse correctly.
  * Test Description: Check if PERPIXEL_TRANSLUCENT translucency type is supported
  *      on the current platform. Proceed if they are supported. Create a window

@@ -40,10 +41,11 @@
  *      should be translucent, all the controls should be opaque.
  * @author mrkam
  * @library ../../../../lib/testlibrary
  * @build Common ExtendedRobot
  * @run main PerPixelTranslucent
+ * @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucent
  */
 
 public class PerPixelTranslucent extends Common {
 
     public static void main(String[] ignored) throws Exception {
< prev index next >