< prev index next >
test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java
Print this page
@@ -24,10 +24,11 @@
import javax.swing.*;
import java.awt.*;
/*
* @test
+ * @bug 8164811
* @key headful
* @summary Check if a per-pixel translucent window shows only the area having
* opaque pixels
* Test Description: Check if PERPIXEL_TRANSLUCENT Translucency type is supported
* on the current platform. Proceed if it is supported. Create a swing window
@@ -38,10 +39,11 @@
* areas of the window must be transparent so that the background shows
* @author mrkam
* @library ../../../../lib/testlibrary
* @build Common ExtendedRobot
* @run main PerPixelTranslucentSwing
+ * @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucentSwing
*/
public class PerPixelTranslucentSwing extends Common {
JButton north;
< prev index next >