10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
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
21 * questions.
22 */
23
24 /*
25 * Portions Copyright (c) 2012 IBM Corporation
26 */
27
28 /*
29 * @test
30 * @bug 7194184
31 * @summary Tests JColorChooser Swatch keyboard accessibility.
32 * @author Sean Chou
33 * @library ../regtesthelpers
34 * @build Util
35 * @run main Test7194184
36 */
37
38 import java.awt.Component;
39 import java.awt.AWTException;
40 import java.awt.Color;
41 import java.awt.Robot;
42 import java.awt.Toolkit;
43 import java.awt.event.KeyEvent;
44
45 import javax.swing.JColorChooser;
46 import javax.swing.JFrame;
47 import javax.swing.SwingUtilities;
48
49 import java.util.concurrent.Callable;
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
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
21 * questions.
22 */
23
24 /*
25 * Portions Copyright (c) 2012 IBM Corporation
26 */
27
28 /*
29 * @test
30 * @key headful
31 * @bug 7194184
32 * @summary Tests JColorChooser Swatch keyboard accessibility.
33 * @author Sean Chou
34 * @library ../regtesthelpers
35 * @build Util
36 * @run main Test7194184
37 */
38
39 import java.awt.Component;
40 import java.awt.AWTException;
41 import java.awt.Color;
42 import java.awt.Robot;
43 import java.awt.Toolkit;
44 import java.awt.event.KeyEvent;
45
46 import javax.swing.JColorChooser;
47 import javax.swing.JFrame;
48 import javax.swing.SwingUtilities;
49
50 import java.util.concurrent.Callable;
|