jdk/test/java/awt/Mixing/AWT_Mixing/JPopupMenuOverlapping.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.
    39  * AWT/Swing overlapping test for {@link javax.swing.JPopupMenu } component.
    39  * AWT/Swing overlapping test for {@link javax.swing.JPopupMenu } component.
    40  * <p>This test creates menu and test if heavyweight component is drawn correctly then menu dropdown is shown.
    40  * <p>This test creates menu and test if heavyweight component is drawn correctly then menu dropdown is shown.
    41  * <p>See base class for test info.
    41  * <p>See base class for test info.
    42  */
    42  */
    43 /*
    43 /*
    44 @test
    44  * @test
    45 @summary Overlapping test for javax.swing.JScrollPane
    45  * @key headful
    46 @author sergey.grinev@oracle.com: area=awt.mixing
    46  * @summary Overlapping test for javax.swing.JScrollPane
    47 @library /java/awt/patchlib  ../../regtesthelpers
    47  * @author sergey.grinev@oracle.com: area=awt.mixing
    48 @modules java.desktop/sun.awt
    48  * @library /java/awt/patchlib  ../../regtesthelpers
    49          java.desktop/java.awt.peer
    49  * @modules java.desktop/sun.awt
    50 @build java.desktop/java.awt.Helper
    50  *          java.desktop/java.awt.peer
    51 @build Util
    51  * @build java.desktop/java.awt.Helper
    52 @run main JPopupMenuOverlapping
    52  * @build Util
       
    53  * @run main JPopupMenuOverlapping
    53  */
    54  */
    54 public class JPopupMenuOverlapping extends OverlappingTestBase {
    55 public class JPopupMenuOverlapping extends OverlappingTestBase {
    55 
    56 
    56     {testEmbeddedFrame = true;}
    57     {testEmbeddedFrame = true;}
    57 
    58