test/jdk/java/awt/Multiscreen/DeviceIdentificationTest/DeviceIdentificationTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2018, 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. |
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 * @test |
24 * @test |
25 * @bug 6614214 |
25 * @bug 6614214 8198613 |
26 * @summary Verifies that we enter the fs mode on the correct screen. |
26 * @summary Verifies that we enter the fs mode on the correct screen. |
27 * Here is how to test: start the test on on a multi-screen system. |
27 * Here is how to test: start the test on on a multi-screen system. |
28 * Verify that the display is correctly tracked by dragging the frame back |
28 * Verify that the display is correctly tracked by dragging the frame back |
29 * and forth between screens. Then verify that the correct device enters |
29 * and forth between screens. Then verify that the correct device enters |
30 * the full-screen mode - when "Enter FS mode" is pressed it should enter on |
30 * the full-screen mode - when "Enter FS mode" is pressed it should enter on |
38 * app running, as well as after restarting it that we still enter the |
38 * app running, as well as after restarting it that we still enter the |
39 * fs mode on the right device. |
39 * fs mode on the right device. |
40 * |
40 * |
41 * @run main/manual/othervm DeviceIdentificationTest |
41 * @run main/manual/othervm DeviceIdentificationTest |
42 * @run main/manual/othervm -Dsun.java2d.noddraw=true DeviceIdentificationTest |
42 * @run main/manual/othervm -Dsun.java2d.noddraw=true DeviceIdentificationTest |
43 * @run main/manual/othervm -Dsun.java2d.opengl=True DeviceIdentificationTest |
|
44 */ |
43 */ |
45 |
44 |
46 import java.awt.Button; |
45 import java.awt.Button; |
47 import java.awt.Color; |
46 import java.awt.Color; |
48 import java.awt.Frame; |
47 import java.awt.Frame; |