< prev index next >
test/jdk/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentGradient.java
Print this page
@@ -24,11 +24,11 @@
import java.awt.*;
/*
* @test
* @key headful
- * @bug 8032644
+ * @bug 8032644 8164811
* @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
* with some components in it, make window undecorated, apply translucent
@@ -42,10 +42,11 @@
* background should be translucent, all the controls should be opaque.
* @author mrkam
* @library ../../../../lib/testlibrary
* @build Common ExtendedRobot
* @run main PerPixelTranslucentGradient
+ * @run main/othervm -Dsun.java2d.uiScale=1.5 PerPixelTranslucentGradient
*/
public class PerPixelTranslucentGradient extends Common {
public static void main(String[] ignored) throws Exception {
< prev index next >