< prev index next >

test/javax/swing/JMenu/8067346/bug8067346.java

Print this page
rev 17561 : 8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests.
Summary: Add new keyword 'printer'. Some minor test fixes to show headless exception. Add some @requires windows.

*** 19,34 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /* @test ! @bug 8067346 ! @summary Submenu has a changed offset on Windows7 with Windows look and feel ! @requires (os.family == "windows") ! @run main bug8067346 */ import java.awt.Insets; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; --- 19,37 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! /** ! * @test ! * @key headful ! * @bug 8067346 ! * @summary Submenu has a changed offset on Windows7 with Windows look and feel ! * @requires (os.family == "windows") ! * @run main bug8067346 */ + import java.awt.Insets; import javax.swing.JFrame; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem;
< prev index next >