< prev index next >

test/jdk/java/awt/Focus/ContainerFocusAutoTransferTest/ContainerFocusAutoTransferTest.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2008, 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,17 +24,15 @@
 /*
   @test
   @key headful
   @bug       6607170
   @summary   Tests for focus-auto-transfer.
-  @author    Anton Tarasov: area=awt-focus
   @library   ../../regtesthelpers
   @build     Util
   @run       main ContainerFocusAutoTransferTest
 */
 
-import java.applet.Applet;
 import java.awt.AWTEvent;
 import java.awt.Component;
 import java.awt.ComponentOrientation;
 import java.awt.DefaultKeyboardFocusManager;
 import java.awt.KeyboardFocusManager;

@@ -48,11 +46,11 @@
 import javax.swing.JButton;
 import javax.swing.JFrame;
 import javax.swing.JPanel;
 import test.java.awt.regtesthelpers.Util;
 
-public class ContainerFocusAutoTransferTest extends Applet {
+public class ContainerFocusAutoTransferTest {
     Robot robot;
     TestFrame frame;
     KeyboardFocusManager kfm;
     enum TestCase {
         REMOVAL { public String toString() { return "removal"; } },
< prev index next >