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