< prev index next >
test/java/awt/Window/AlwaysOnTop/AlwaysOnTopFieldTest.java
Print this page
rev 14989 : 8160974: [TESTBUG] Mark more headful tests with @key headful.
@@ -24,10 +24,11 @@
import java.awt.Frame;
import java.awt.Robot;
import java.awt.Window;
/**
* @test
+ * @key headful
* @bug 7081594
* @author Alexander Scherbatiy
* @summary Windows owned by an always-on-top window DO NOT automatically become always-on-top
* @run main AlwaysOnTopFieldTest
*/
@@ -35,11 +36,11 @@
public static void main(String[] args) {
Robot robot;
try {
robot = new Robot();
- }catch(Exception ex) {
+ } catch(Exception ex) {
ex.printStackTrace();
throw new RuntimeException("Unexpected failure");
}
Window window = new Frame("Window 1");
< prev index next >