< prev index next >
test/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentSwing.java
Print this page
rev 14836 : 8159690: [TESTBUG] Mark headful tests with @key headful.
*** 1,7 ****
/*
! * Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 24,33 ****
--- 24,34 ----
import javax.swing.*;
import java.awt.*;
/*
* @test
+ * @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
* with some swing components in it and a transparent background (alpha 0.0).
< prev index next >