equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2016, 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. |
39 * See <a href="https://bugs.openjdk.java.net/browse/JDK-6637655">JDK-6637655</a> and |
39 * See <a href="https://bugs.openjdk.java.net/browse/JDK-6637655">JDK-6637655</a> and |
40 * <a href="https://bugs.openjdk.java.net/browse/JDK-6981919">JDK-6981919</a>. |
40 * <a href="https://bugs.openjdk.java.net/browse/JDK-6981919">JDK-6981919</a>. |
41 * <p>See base class for details. |
41 * <p>See base class for details. |
42 */ |
42 */ |
43 /* |
43 /* |
44 @test |
44 * @test |
45 @bug 6637655 6981919 |
45 * @key headful |
46 @summary Overlapping test for javax.swing.JScrollPane |
46 * @bug 6637655 6981919 |
47 @author sergey.grinev@oracle.com: area=awt.mixing |
47 * @summary Overlapping test for javax.swing.JScrollPane |
48 @library ../../regtesthelpers |
48 * @author sergey.grinev@oracle.com: area=awt.mixing |
49 @modules java.desktop/sun.awt |
49 * @library ../../regtesthelpers |
50 java.desktop/java.awt.peer |
50 * @modules java.desktop/sun.awt |
51 @build Util |
51 * java.desktop/java.awt.peer |
52 @run main JGlassPaneMoveOverlapping |
52 * @build Util |
|
53 * @run main JGlassPaneMoveOverlapping |
53 */ |
54 */ |
54 public class JGlassPaneMoveOverlapping extends OverlappingTestBase { |
55 public class JGlassPaneMoveOverlapping extends OverlappingTestBase { |
55 |
56 |
56 private boolean lwClicked = true; |
57 private boolean lwClicked = true; |
57 private volatile Point lLoc; |
58 private volatile Point lLoc; |