test/java/awt/Mixing/AWT_Mixing/JPopupMenuOverlapping.java

Print this page

        

*** 31,50 **** --- 31,53 ---- import javax.swing.JFrame; import javax.swing.JMenuItem; import javax.swing.JPopupMenu; import javax.swing.SpringLayout; import javax.swing.SwingUtilities; + import test.java.awt.regtesthelpers.Util; /** * AWT/Swing overlapping test for {@link javax.swing.JPopupMenu } component. * <p>This test creates menu and test if heavyweight component is drawn correctly then menu dropdown is shown. * <p>See base class for test info. */ /* @test @summary Overlapping test for javax.swing.JScrollPane @author sergey.grinev@oracle.com: area=awt.mixing + @library ../../regtesthelpers + @build Util @run main JPopupMenuOverlapping */ public class JPopupMenuOverlapping extends OverlappingTestBase { {testEmbeddedFrame = true;}