test/jdk/sun/java2d/DirectX/SwingOnScreenScrollingTest/SwingOnScreenScrollingTest.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2016, 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. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 /* |
23 /* |
24 * @test |
24 * @test |
25 * @key headful |
25 * @key headful |
26 * @bug 6630702 |
26 * @bug 6630702 8198613 |
27 * @summary Tests that scrolling after paint() is performed correctly. |
27 * @summary Tests that scrolling after paint() is performed correctly. |
28 * This is really only applicable to Vista |
28 * This is really only applicable to Vista |
29 * @author Dmitri.Trembovetski@sun.com: area=Graphics |
29 * @author Dmitri.Trembovetski@sun.com: area=Graphics |
30 * @run main/othervm SwingOnScreenScrollingTest |
30 * @run main/othervm SwingOnScreenScrollingTest |
31 * run main/othervm -Dsun.java2d.opengl=True SwingOnScreenScrollingTest |
|
32 */ |
31 */ |
33 |
32 |
34 import java.awt.AWTException; |
33 import java.awt.AWTException; |
35 import java.awt.Color; |
34 import java.awt.Color; |
36 import java.awt.Dimension; |
35 import java.awt.Dimension; |