< 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,33 **** --- 24,34 ---- 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,45 **** public static void main(String[] args) { Robot robot; try { robot = new Robot(); ! }catch(Exception ex) { ex.printStackTrace(); throw new RuntimeException("Unexpected failure"); } Window window = new Frame("Window 1"); --- 36,46 ---- public static void main(String[] args) { Robot robot; try { robot = new Robot(); ! } catch(Exception ex) { ex.printStackTrace(); throw new RuntimeException("Unexpected failure"); } Window window = new Frame("Window 1");
< prev index next >