jdk/test/java/awt/Mixing/AWT_Mixing/JSplitPaneOverlapping.java
changeset 39056 d99e63b6d962
parent 31660 1a4e2e5c15e1
child 39861 cb667c7942dd
equal deleted inserted replaced
39055:92f7fed22d5f 39056:d99e63b6d962
     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.
    43  * <p>This test puts heavyweight and lightweight components into different
    43  * <p>This test puts heavyweight and lightweight components into different
    44  * panels and test if splitter image and components itself are drawn correctly.
    44  * panels and test if splitter image and components itself are drawn correctly.
    45  * <p>See base class for test info.
    45  * <p>See base class for test info.
    46  */
    46  */
    47 /*
    47 /*
    48 @test
    48  * @test
    49 @bug 6986109
    49  * @key headful
    50 @summary Overlapping test for javax.swing.JSplitPane
    50  * @bug 6986109
    51 @author sergey.grinev@oracle.com: area=awt.mixing
    51  * @summary Overlapping test for javax.swing.JSplitPane
    52 @library ../../regtesthelpers
    52  * @author sergey.grinev@oracle.com: area=awt.mixing
    53 @modules java.desktop/sun.awt
    53  * @library ../../regtesthelpers
    54          java.desktop/java.awt.peer
    54  * @modules java.desktop/sun.awt
    55 @build Util
    55  *          java.desktop/java.awt.peer
    56 @run main JSplitPaneOverlapping
    56  * @build Util
       
    57  * @run main JSplitPaneOverlapping
    57  */
    58  */
    58 public class JSplitPaneOverlapping extends OverlappingTestBase {
    59 public class JSplitPaneOverlapping extends OverlappingTestBase {
    59 
    60 
    60     private boolean clicked = false;
    61     private boolean clicked = false;
    61     private Point splitterLoc;
    62     private Point splitterLoc;