< prev index next >

test/jdk/java/awt/Focus/FocusEmbeddedFrameTest/FocusEmbeddedFrameTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2007, 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) 2007, 2018, 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,34 **** /** * @test * @key headful * @bug 6516675 * @summary Tests that EmbeddedFrame can be focused. - * @author anton.tarasov: area=awt-focus * @requires (os.family == "windows") * @modules java.desktop/java.awt.peer * java.desktop/sun.awt * java.desktop/sun.awt.windows * @library /java/awt/patchlib ../../regtesthelpers --- 24,33 ----
*** 37,53 **** * @run main FocusEmbeddedFrameTest */ import java.awt.*; import java.awt.event.*; - import java.applet.Applet; - import java.util.concurrent.atomic.AtomicBoolean; - import java.lang.reflect.InvocationTargetException; import test.java.awt.regtesthelpers.Util; import test.java.awt.regtesthelpers.UtilInternal; ! public class FocusEmbeddedFrameTest extends Applet { static Frame embedder = new Frame("Embedder"); static Frame ef = null; static volatile boolean passed; Robot robot; --- 36,49 ---- * @run main FocusEmbeddedFrameTest */ import java.awt.*; import java.awt.event.*; import test.java.awt.regtesthelpers.Util; import test.java.awt.regtesthelpers.UtilInternal; ! public class FocusEmbeddedFrameTest { static Frame embedder = new Frame("Embedder"); static Frame ef = null; static volatile boolean passed; Robot robot;
< prev index next >