< prev index next >

test/javax/swing/ToolTipManager/7123767/bug7123767.java

Print this page
rev 14565 : 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.
Reviewed-by: serb, mbaesken

*** 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 7123767 ! @summary Wrong tooltip location in Multi-Monitor configurations ! @author Vladislav Karnaukhov ! @run main bug7123767 ! */ import javax.swing.*; import javax.swing.plaf.metal.MetalLookAndFeel; import java.awt.*; import java.awt.event.MouseEvent; --- 19,49 ---- * 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 7123767 ! * ! * @summary Check if a tooltip location in Multi-Monitor ! * configurations is correct. ! * If the configurations number per device exceeds 5, ! * then some 5 random configurations will be checked. ! * Please Use -Dseed=X to set the random generator seed ! * (if necessary). ! * ! * @author Vladislav Karnaukhov ! * ! * @key headful randomness ! * ! * @modules java.desktop/sun.awt ! * @library /test/lib ! * ! * @run main/timeout=300 bug7123767 ! */ import javax.swing.*; import javax.swing.plaf.metal.MetalLookAndFeel; import java.awt.*; import java.awt.event.MouseEvent;
< prev index next >