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. |
35 /** |
35 /** |
36 * AWT/Swing overlapping test for {@link javax.swing.JInternalFrame } component during move. |
36 * AWT/Swing overlapping test for {@link javax.swing.JInternalFrame } component during move. |
37 * <p>See <a href="http://monaco.sfbay.sun.com/detail.jsf?cr=6985399">CR6768230</a> for details and base class for test info. |
37 * <p>See <a href="http://monaco.sfbay.sun.com/detail.jsf?cr=6985399">CR6768230</a> for details and base class for test info. |
38 */ |
38 */ |
39 /* |
39 /* |
40 @test |
40 * @test |
41 @bug 6985399 |
41 * @key headful |
42 @summary Overlapping test for javax.swing.JScrollPane |
42 * @bug 6985399 |
43 @author sergey.grinev@oracle.com: area=awt.mixing |
43 * @summary Overlapping test for javax.swing.JScrollPane |
44 @library ../../regtesthelpers |
44 * @author sergey.grinev@oracle.com: area=awt.mixing |
45 @modules java.desktop/sun.awt |
45 * @library ../../regtesthelpers |
46 java.desktop/java.awt.peer |
46 * @modules java.desktop/sun.awt |
47 @build Util |
47 * java.desktop/java.awt.peer |
48 @run main JInternalFrameMoveOverlapping |
48 * @build Util |
|
49 * @run main JInternalFrameMoveOverlapping |
49 */ |
50 */ |
50 public class JInternalFrameMoveOverlapping extends OverlappingTestBase { |
51 public class JInternalFrameMoveOverlapping extends OverlappingTestBase { |
51 |
52 |
52 private boolean lwClicked = true; |
53 private boolean lwClicked = true; |
53 private Point locTopFrame; |
54 private Point locTopFrame; |