jdk/test/java/awt/Focus/FocusTraversalPolicy/ButtonGroupLayoutTraversal/ButtonGroupLayoutTraversalTest.java
changeset 46151 5fa789776f7d
parent 43312 ea80ab476988
equal deleted inserted replaced
46150:d3385f62b9e8 46151:5fa789776f7d
     1 /*
     1 /*
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24  /*
    24 /**
    25   @test
    25  * @test
    26   @bug 8154043 8172509
    26  * @key headful
    27   @summary Fields not reachable anymore by tab-key, because of new tabbing
    27  * @bug 8154043 8172509
    28   behaviour of radio button groups.
    28  * @summary Fields not reachable anymore by tab-key, because of new tabbing
    29   @run main ButtonGroupLayoutTraversalTest
    29  * behaviour of radio button groups.
       
    30  * @run main ButtonGroupLayoutTraversalTest
    30  */
    31  */
       
    32 
    31 import java.awt.BorderLayout;
    33 import java.awt.BorderLayout;
    32 import java.awt.Color;
    34 import java.awt.Color;
    33 import java.awt.GridLayout;
    35 import java.awt.GridLayout;
    34 import java.awt.Robot;
    36 import java.awt.Robot;
    35 import java.awt.event.FocusAdapter;
    37 import java.awt.event.FocusAdapter;