jdk/test/java/awt/Mixing/AWT_Mixing/JButtonOverlapping.java
changeset 39056 d99e63b6d962
parent 36511 9d0388c6b336
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.
    27 /**
    27 /**
    28  * AWT/Swing overlapping test for {@link javax.swing.JButton } component.
    28  * AWT/Swing overlapping test for {@link javax.swing.JButton } component.
    29  * <p>See base class for details.
    29  * <p>See base class for details.
    30  */
    30  */
    31 /*
    31 /*
    32 @test
    32  * @test
    33 @summary Simple Overlapping test for javax.swing.JButton
    33  * @key headful
    34 @author sergey.grinev@oracle.com: area=awt.mixing
    34  * @summary Simple Overlapping test for javax.swing.JButton
    35 @library /java/awt/patchlib  ../../regtesthelpers
    35  * @author sergey.grinev@oracle.com: area=awt.mixing
    36 @modules java.desktop/sun.awt
    36  * @library /java/awt/patchlib  ../../regtesthelpers
    37          java.desktop/java.awt.peer
    37  * @modules java.desktop/sun.awt
    38 @build java.desktop/java.awt.Helper
    38  *          java.desktop/java.awt.peer
    39 @build Util
    39  * @build java.desktop/java.awt.Helper
    40 @run main JButtonOverlapping
    40  * @build Util
       
    41  * @run main JButtonOverlapping
    41  */
    42  */
    42 public class JButtonOverlapping extends SimpleOverlappingTestBase {
    43 public class JButtonOverlapping extends SimpleOverlappingTestBase {
    43 
    44 
    44     @Override
    45     @Override
    45     protected JComponent getSwingComponent() {
    46     protected JComponent getSwingComponent() {