# HG changeset patch # User goetz # Date 1467901305 -7200 # Node ID 1ac6d9527b7d872d7e86561872e3f413e3ed42d7 # Parent 64861cafac3b0346c2cf71ca78523de28732f985 8160974: [TESTBUG] Mark more headful tests with @key headful. diff --git a/test/com/sun/java/accessibility/util/8051626/Bug8051626.java b/test/com/sun/java/accessibility/util/8051626/Bug8051626.java --- a/test/com/sun/java/accessibility/util/8051626/Bug8051626.java +++ b/test/com/sun/java/accessibility/util/8051626/Bug8051626.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8051626 * @summary Ensure no failure when using Java Accessibility Utility with security manager * @modules java.desktop jdk.accessibility diff --git a/test/com/sun/java/swing/plaf/windows/8016551/bug8016551.java b/test/com/sun/java/swing/plaf/windows/8016551/bug8016551.java --- a/test/com/sun/java/swing/plaf/windows/8016551/bug8016551.java +++ b/test/com/sun/java/swing/plaf/windows/8016551/bug8016551.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8016551 * @summary JMenuItem in WindowsLookAndFeel can't paint default icons * @author Leonid Romanov diff --git a/test/java/awt/Checkbox/SetStateExcessEvent/SetStateExcessEvent.java b/test/java/awt/Checkbox/SetStateExcessEvent/SetStateExcessEvent.java --- a/test/java/awt/Checkbox/SetStateExcessEvent/SetStateExcessEvent.java +++ b/test/java/awt/Checkbox/SetStateExcessEvent/SetStateExcessEvent.java @@ -29,6 +29,7 @@ /** * @test + * @key headful * @bug 8074500 * @summary Checkbox.setState() call should not post ItemEvent * @author Sergey Bylokhov diff --git a/test/java/awt/Choice/ChoiceLocationTest/ChoiceLocationTest.java b/test/java/awt/Choice/ChoiceLocationTest/ChoiceLocationTest.java --- a/test/java/awt/Choice/ChoiceLocationTest/ChoiceLocationTest.java +++ b/test/java/awt/Choice/ChoiceLocationTest/ChoiceLocationTest.java @@ -22,13 +22,14 @@ */ /* - @test - @bug 7159566 - @summary The choice positioned in the top of applet when clicking the choice. - @author Petr Pchelko - @library ../../regtesthelpers - @build Util - @run main ChoiceLocationTest + * @test + * @key headful + * @bug 7159566 + * @summary The choice positioned in the top of applet when clicking the choice. + * @author Petr Pchelko + * @library ../../regtesthelpers + * @build Util + * @run main ChoiceLocationTest */ import java.awt.*; diff --git a/test/java/awt/Choice/DragMouseOutAndRelease/DragMouseOutAndRelease.java b/test/java/awt/Choice/DragMouseOutAndRelease/DragMouseOutAndRelease.java --- a/test/java/awt/Choice/DragMouseOutAndRelease/DragMouseOutAndRelease.java +++ b/test/java/awt/Choice/DragMouseOutAndRelease/DragMouseOutAndRelease.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 6322625 @summary REG:Choice does not trigger MouseReleased when dragging and releasing the mouse outside choice, XAWT @author andrei.dmitriev area=awt.choice diff --git a/test/java/awt/Choice/GetSizeTest/GetSizeTest.java b/test/java/awt/Choice/GetSizeTest/GetSizeTest.java --- a/test/java/awt/Choice/GetSizeTest/GetSizeTest.java +++ b/test/java/awt/Choice/GetSizeTest/GetSizeTest.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 4255631 @summary Solaris: Size returned by Choice.getSize() does not match actual size @author Andrei Dmitriev : area=Choice diff --git a/test/java/awt/Choice/ResizeAutoClosesChoice/ResizeAutoClosesChoice.java b/test/java/awt/Choice/ResizeAutoClosesChoice/ResizeAutoClosesChoice.java --- a/test/java/awt/Choice/ResizeAutoClosesChoice/ResizeAutoClosesChoice.java +++ b/test/java/awt/Choice/ResizeAutoClosesChoice/ResizeAutoClosesChoice.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 6399679 @summary Choice is not invalidated when the frame gets resized programmatically when the drop-down is visible @author andrei.dmitriev area=awt.choice diff --git a/test/java/awt/Choice/UnfocusableCB_ERR/UnfocusableCB_ERR.java b/test/java/awt/Choice/UnfocusableCB_ERR/UnfocusableCB_ERR.java --- a/test/java/awt/Choice/UnfocusableCB_ERR/UnfocusableCB_ERR.java +++ b/test/java/awt/Choice/UnfocusableCB_ERR/UnfocusableCB_ERR.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 6390103 @summary Non-Focusable choice throws exception when selecting an item, Win32 @author andrei.dmitriev area=awt.choice diff --git a/test/java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java b/test/java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java --- a/test/java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java +++ b/test/java/awt/Choice/UnfocusableToplevel/UnfocusableToplevel.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6566434 8039467 @library ../../regtesthelpers @build Util Sysout AbstractTest diff --git a/test/java/awt/Component/DimensionEncapsulation/DimensionEncapsulation.java b/test/java/awt/Component/DimensionEncapsulation/DimensionEncapsulation.java --- a/test/java/awt/Component/DimensionEncapsulation/DimensionEncapsulation.java +++ b/test/java/awt/Component/DimensionEncapsulation/DimensionEncapsulation.java @@ -90,6 +90,7 @@ /** * @test + * @key headful * @bug 6459798 * @author Sergey Bylokhov */ diff --git a/test/java/awt/Component/GetScreenLocTest/GetScreenLocTest.java b/test/java/awt/Component/GetScreenLocTest/GetScreenLocTest.java --- a/test/java/awt/Component/GetScreenLocTest/GetScreenLocTest.java +++ b/test/java/awt/Component/GetScreenLocTest/GetScreenLocTest.java @@ -38,6 +38,7 @@ /** * @test + * @key headful * @bug 4356202 * @summary Tests that getLocationOnScreen returns valid value(WindowMaker * only). diff --git a/test/java/awt/Component/InsetsEncapsulation/InsetsEncapsulation.java b/test/java/awt/Component/InsetsEncapsulation/InsetsEncapsulation.java --- a/test/java/awt/Component/InsetsEncapsulation/InsetsEncapsulation.java +++ b/test/java/awt/Component/InsetsEncapsulation/InsetsEncapsulation.java @@ -74,6 +74,7 @@ /** * @test + * @key headful * @bug 6459800 * @author Sergey Bylokhov */ diff --git a/test/java/awt/Component/PaintAll/PaintAll.java b/test/java/awt/Component/PaintAll/PaintAll.java --- a/test/java/awt/Component/PaintAll/PaintAll.java +++ b/test/java/awt/Component/PaintAll/PaintAll.java @@ -43,6 +43,7 @@ /* @test + @key headful @bug 6596915 @summary Test Component.paintAll() method @author sergey.bylokhov@oracle.com: area=awt.component diff --git a/test/java/awt/Component/Revalidate/Revalidate.java b/test/java/awt/Component/Revalidate/Revalidate.java --- a/test/java/awt/Component/Revalidate/Revalidate.java +++ b/test/java/awt/Component/Revalidate/Revalidate.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 7036669 @summary Test Component.revalidate() method @author anthony.petrov@oracle.com: area=awt.component diff --git a/test/java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java b/test/java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java --- a/test/java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java +++ b/test/java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java @@ -31,6 +31,7 @@ /** * @test + * @key headful * @bug 8071306 * @author Sergey Bylokhov */ diff --git a/test/java/awt/Container/CheckZOrderChange/CheckZOrderChange.java b/test/java/awt/Container/CheckZOrderChange/CheckZOrderChange.java --- a/test/java/awt/Container/CheckZOrderChange/CheckZOrderChange.java +++ b/test/java/awt/Container/CheckZOrderChange/CheckZOrderChange.java @@ -22,12 +22,14 @@ */ /* - @test %I% %E% - @bug 2161766 - @summary Component is missing after changing the z-order of the component & focus is not transfered in - @author Andrei Dmitriev : area=awt.container - @run main CheckZOrderChange -*/ + * @test %I% %E% + * @key headful + * @bug 2161766 + * @summary Component is missing after changing the z-order of the component & focus is not transfered in + * @author Andrei Dmitriev : area=awt.container + * @run main CheckZOrderChange + */ + import java.awt.*; import java.awt.event.*; diff --git a/test/java/awt/Container/ValidateRoot/InvalidateMustRespectValidateRoots.java b/test/java/awt/Container/ValidateRoot/InvalidateMustRespectValidateRoots.java --- a/test/java/awt/Container/ValidateRoot/InvalidateMustRespectValidateRoots.java +++ b/test/java/awt/Container/ValidateRoot/InvalidateMustRespectValidateRoots.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6852592 @summary invalidate() must stop when it encounters a validate root @author anthony.petrov@sun.com diff --git a/test/java/awt/Dialog/ChildProperties/ChildDialogProperties.java b/test/java/awt/Dialog/ChildProperties/ChildDialogProperties.java --- a/test/java/awt/Dialog/ChildProperties/ChildDialogProperties.java +++ b/test/java/awt/Dialog/ChildProperties/ChildDialogProperties.java @@ -21,12 +21,14 @@ * questions. */ - /* - @test - @bug 8057574 - @summary Verify that child Dialog does not inherit parent's Properties - @run main ChildDialogProperties +/* + * @test + * @key headful + * @bug 8057574 + * @summary Verify that child Dialog does not inherit parent's Properties + * @run main ChildDialogProperties */ + import java.awt.Color; import java.awt.Dialog; import java.awt.Font; diff --git a/test/java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java b/test/java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java --- a/test/java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java +++ b/test/java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6829546 @summary tests that an always-on-top modal dialog doesn't make any windows always-on-top @author artem.ananiev: area=awt.modal diff --git a/test/java/awt/Dialog/ValidateOnShow/ValidateOnShow.java b/test/java/awt/Dialog/ValidateOnShow/ValidateOnShow.java --- a/test/java/awt/Dialog/ValidateOnShow/ValidateOnShow.java +++ b/test/java/awt/Dialog/ValidateOnShow/ValidateOnShow.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 7027013 @summary Dialog.show() should validate the window unconditionally @author anthony.petrov@oracle.com: area=awt.toplevel diff --git a/test/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.java b/test/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.java --- a/test/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.java +++ b/test/java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.java @@ -24,7 +24,8 @@ /** * * @bug 4023283 - * @summary Checks that an Error which propogate up to the EventDispatch + * @key headful + * @summary Checks that an Error which propogates up to the EventDispatch * loop does not crash AWT. * @author Andrei Dmitriev: area=awt.event * @library ../../regtesthelpers diff --git a/test/java/awt/Focus/6981400/Test1.java b/test/java/awt/Focus/6981400/Test1.java --- a/test/java/awt/Focus/6981400/Test1.java +++ b/test/java/awt/Focus/6981400/Test1.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6981400 * @summary Tabbing between textfiled do not work properly when ALT+TAB * @author anton.tarasov diff --git a/test/java/awt/Focus/6981400/Test2.java b/test/java/awt/Focus/6981400/Test2.java --- a/test/java/awt/Focus/6981400/Test2.java +++ b/test/java/awt/Focus/6981400/Test2.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6981400 * @summary Tabbing between textfiled do not work properly when ALT+TAB * @author anton.tarasov diff --git a/test/java/awt/Focus/6981400/Test3.java b/test/java/awt/Focus/6981400/Test3.java --- a/test/java/awt/Focus/6981400/Test3.java +++ b/test/java/awt/Focus/6981400/Test3.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6981400 * @summary Tabbing between textfiled do not work properly when ALT+TAB * @author anton.tarasov diff --git a/test/java/awt/Focus/8013611/JDK8013611.java b/test/java/awt/Focus/8013611/JDK8013611.java --- a/test/java/awt/Focus/8013611/JDK8013611.java +++ b/test/java/awt/Focus/8013611/JDK8013611.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8013611 @summary Tests showing a modal dialog with requesting focus in frame. @author Anton.Tarasov: area=awt.focus diff --git a/test/java/awt/Focus/8073453/AWTFocusTransitionTest.java b/test/java/awt/Focus/8073453/AWTFocusTransitionTest.java --- a/test/java/awt/Focus/8073453/AWTFocusTransitionTest.java +++ b/test/java/awt/Focus/8073453/AWTFocusTransitionTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8073453 * @summary Focus doesn't move when pressing Shift + Tab keys * @author Dmitry Markov diff --git a/test/java/awt/Focus/8073453/SwingFocusTransitionTest.java b/test/java/awt/Focus/8073453/SwingFocusTransitionTest.java --- a/test/java/awt/Focus/8073453/SwingFocusTransitionTest.java +++ b/test/java/awt/Focus/8073453/SwingFocusTransitionTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8073453 * @summary Focus doesn't move when pressing Shift + Tab keys * @author Dmitry Markov diff --git a/test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java b/test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java --- a/test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java +++ b/test/java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 4823903 @summary Tests actual focused window retaining. @author Anton.Tarasov: area=awt.focus diff --git a/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java b/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java --- a/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java +++ b/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusSetVisibleTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6187066 @summary Tests the Window.autoRequestFocus property for the Window.setVisible() method. @author anton.tarasov: area=awt.focus diff --git a/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusToFrontTest.java b/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusToFrontTest.java --- a/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusToFrontTest.java +++ b/test/java/awt/Focus/AutoRequestFocusTest/AutoRequestFocusToFrontTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6187066 @summary Tests the Window.autoRequestFocus property for the Window.toFront() method. @author anton.tarasov: area=awt.focus diff --git a/test/java/awt/Focus/ClearGlobalFocusOwnerTest/ClearGlobalFocusOwnerTest.java b/test/java/awt/Focus/ClearGlobalFocusOwnerTest/ClearGlobalFocusOwnerTest.java --- a/test/java/awt/Focus/ClearGlobalFocusOwnerTest/ClearGlobalFocusOwnerTest.java +++ b/test/java/awt/Focus/ClearGlobalFocusOwnerTest/ClearGlobalFocusOwnerTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 4390555 @summary Synopsis: clearGlobalFocusOwner() is not trigerring permanent FOCUS_LOST event @author son@sparc.spb.su, anton.tarasov: area=awt.focus diff --git a/test/java/awt/Focus/KeyEventForBadFocusOwnerTest/KeyEventForBadFocusOwnerTest.java b/test/java/awt/Focus/KeyEventForBadFocusOwnerTest/KeyEventForBadFocusOwnerTest.java --- a/test/java/awt/Focus/KeyEventForBadFocusOwnerTest/KeyEventForBadFocusOwnerTest.java +++ b/test/java/awt/Focus/KeyEventForBadFocusOwnerTest/KeyEventForBadFocusOwnerTest.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 4476629 @library ../../../../javax/swing/regtesthelpers @build Util diff --git a/test/java/awt/Focus/MouseClickRequestFocusRaceTest/MouseClickRequestFocusRaceTest.java b/test/java/awt/Focus/MouseClickRequestFocusRaceTest/MouseClickRequestFocusRaceTest.java --- a/test/java/awt/Focus/MouseClickRequestFocusRaceTest/MouseClickRequestFocusRaceTest.java +++ b/test/java/awt/Focus/MouseClickRequestFocusRaceTest/MouseClickRequestFocusRaceTest.java @@ -42,6 +42,7 @@ /** * @test + * @key headful * @bug 5028014 * @summary Focus request & mouse click being performed nearly synchronously * shouldn't break the focus subsystem diff --git a/test/java/awt/Focus/RemoveAfterRequest/RemoveAfterRequest.java b/test/java/awt/Focus/RemoveAfterRequest/RemoveAfterRequest.java --- a/test/java/awt/Focus/RemoveAfterRequest/RemoveAfterRequest.java +++ b/test/java/awt/Focus/RemoveAfterRequest/RemoveAfterRequest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6411406 @summary Components automatically transfer focus on removal, even if developer requests focus elsewhere first @author oleg.sukhodolsky, anton.tarasov: area=awt.focus diff --git a/test/java/awt/Focus/RollbackFocusFromAnotherWindowTest/RollbackFocusFromAnotherWindowTest.java b/test/java/awt/Focus/RollbackFocusFromAnotherWindowTest/RollbackFocusFromAnotherWindowTest.java --- a/test/java/awt/Focus/RollbackFocusFromAnotherWindowTest/RollbackFocusFromAnotherWindowTest.java +++ b/test/java/awt/Focus/RollbackFocusFromAnotherWindowTest/RollbackFocusFromAnotherWindowTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8139218 @summary Dialog that opens and closes quickly changes focus in original focusowner diff --git a/test/java/awt/Focus/SimpleWindowActivationTest/SimpleWindowActivationTest.java b/test/java/awt/Focus/SimpleWindowActivationTest/SimpleWindowActivationTest.java --- a/test/java/awt/Focus/SimpleWindowActivationTest/SimpleWindowActivationTest.java +++ b/test/java/awt/Focus/SimpleWindowActivationTest/SimpleWindowActivationTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6385277 * @summary Tests that override redirect window gets activated on click. * @author anton.tarasov@sun.com: area=awt.focus diff --git a/test/java/awt/Focus/TranserFocusToWindow/TranserFocusToWindow.java b/test/java/awt/Focus/TranserFocusToWindow/TranserFocusToWindow.java --- a/test/java/awt/Focus/TranserFocusToWindow/TranserFocusToWindow.java +++ b/test/java/awt/Focus/TranserFocusToWindow/TranserFocusToWindow.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6562853 7035459 @summary Tests that focus transfered directy to window w/o transfering it to frame. @author Oleg Sukhodolsky: area=awt.focus diff --git a/test/java/awt/Focus/TypeAhead/TestFocusFreeze.java b/test/java/awt/Focus/TypeAhead/TestFocusFreeze.java --- a/test/java/awt/Focus/TypeAhead/TestFocusFreeze.java +++ b/test/java/awt/Focus/TypeAhead/TestFocusFreeze.java @@ -22,14 +22,15 @@ */ /* - @test - @bug 6183877 6216005 6225560 - @library ../../regtesthelpers - @build Util - @summary Tests that keyboard input doesn't freeze due to type-ahead problems - @author Denis.Mikhalkin, Anton.Tarasov: area=awt.focus - @run main TestFocusFreeze -*/ + * @test + * @key headful + * @bug 6183877 6216005 6225560 + * @library ../../regtesthelpers + * @build Util + * @summary Tests that keyboard input doesn't freeze due to type-ahead problems + * @author Denis.Mikhalkin, Anton.Tarasov: area=awt.focus + * @run main TestFocusFreeze + */ import java.awt.Component; import java.awt.DefaultKeyboardFocusManager; diff --git a/test/java/awt/Frame/DecoratedExceptions/DecoratedExceptions.java b/test/java/awt/Frame/DecoratedExceptions/DecoratedExceptions.java --- a/test/java/awt/Frame/DecoratedExceptions/DecoratedExceptions.java +++ b/test/java/awt/Frame/DecoratedExceptions/DecoratedExceptions.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @summary An attempt to set non-trivial background, shape, or translucency * to a decorated toplevel should end with an exception. * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) diff --git a/test/java/awt/Frame/DisposeParentGC/DisposeParentGC.java b/test/java/awt/Frame/DisposeParentGC/DisposeParentGC.java --- a/test/java/awt/Frame/DisposeParentGC/DisposeParentGC.java +++ b/test/java/awt/Frame/DisposeParentGC/DisposeParentGC.java @@ -30,6 +30,7 @@ /* * @test + * @key headful * @summary Display a dialog with a parent, the dialog contains all awt components * added to it & each components are setted with different cursors types. * Dispose the parent & collect GC. Garbage collection should happen diff --git a/test/java/awt/Frame/FramesGC/FramesGC.java b/test/java/awt/Frame/FramesGC/FramesGC.java --- a/test/java/awt/Frame/FramesGC/FramesGC.java +++ b/test/java/awt/Frame/FramesGC/FramesGC.java @@ -30,6 +30,7 @@ /* * @test + * @key headful * @summary Verify that disposed frames are collected with GC * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @library ../../../../lib/testlibrary diff --git a/test/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java b/test/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java --- a/test/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java +++ b/test/java/awt/Frame/MiscUndecorated/ActiveAWTWindowTest.java @@ -22,14 +22,15 @@ */ /* -* @test -* @summary To check proper WINDOW_EVENTS are triggered when Frame gains or losses the focus -* @author Jitender(jitender.singh@eng.sun.com) area=AWT -* @author yan -* @library ../../../../lib/testlibrary -* @build ExtendedRobot -* @run main ActiveAWTWindowTest -*/ + * @test + * @key headful + * @summary To check proper WINDOW_EVENTS are triggered when Frame gains or losses the focus + * @author Jitender(jitender.singh@eng.sun.com) area=AWT + * @author yan + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main ActiveAWTWindowTest + */ import java.awt.*; import java.awt.event.*; diff --git a/test/java/awt/Frame/MiscUndecorated/ActiveSwingWindowTest.java b/test/java/awt/Frame/MiscUndecorated/ActiveSwingWindowTest.java --- a/test/java/awt/Frame/MiscUndecorated/ActiveSwingWindowTest.java +++ b/test/java/awt/Frame/MiscUndecorated/ActiveSwingWindowTest.java @@ -22,14 +22,15 @@ */ /* -* @test -* @summary To check proper WINDOW_EVENTS are triggered when JFrame gains or losses the focus -* @author Jitender(jitender.singh@eng.sun.com) area=AWT -* @author yan -* @library ../../../../lib/testlibrary -* @build ExtendedRobot -* @run main ActiveSwingWindowTest -*/ + * @test + * @key headful + * @summary To check proper WINDOW_EVENTS are triggered when JFrame gains or losses the focus + * @author Jitender(jitender.singh@eng.sun.com) area=AWT + * @author yan + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main ActiveSwingWindowTest + */ import java.awt.*; import java.awt.event.*; diff --git a/test/java/awt/Frame/MiscUndecorated/FrameCloseTest.java b/test/java/awt/Frame/MiscUndecorated/FrameCloseTest.java --- a/test/java/awt/Frame/MiscUndecorated/FrameCloseTest.java +++ b/test/java/awt/Frame/MiscUndecorated/FrameCloseTest.java @@ -22,14 +22,15 @@ */ /* -* @test -* @summary To make sure Undecorated Frame triggers correct windows events while closing -* @author Jitender(jitender.singh@eng.sun.com) area=AWT* -* @author yan -* @library ../../../../lib/testlibrary -* @build ExtendedRobot -* @run main FrameCloseTest -*/ + * @test + * @key headful + * @summary To make sure Undecorated Frame triggers correct windows events while closing + * @author Jitender(jitender.singh@eng.sun.com) area=AWT* + * @author yan + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main FrameCloseTest + */ import java.awt.*; import java.awt.event.*; diff --git a/test/java/awt/Frame/MiscUndecorated/RepaintTest.java b/test/java/awt/Frame/MiscUndecorated/RepaintTest.java --- a/test/java/awt/Frame/MiscUndecorated/RepaintTest.java +++ b/test/java/awt/Frame/MiscUndecorated/RepaintTest.java @@ -1,4 +1,4 @@ -/* +\/* * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -21,15 +21,16 @@ * questions. */ /* -* @test -* @summary Make sure that on changing state of Undecorated Frame, -* all the components on it are repainted correctly -* @author Jitender(jitender.singh@eng.sun.com) area=AWT -* @author yan -* @library ../../../../lib/testlibrary -* @build ExtendedRobot -* @run main RepaintTest -*/ + * @test + * @key headful + * @summary Make sure that on changing state of Undecorated Frame, + * all the components on it are repainted correctly + * @author Jitender(jitender.singh@eng.sun.com) area=AWT + * @author yan + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main RepaintTest + */ import java.awt.*; import java.awt.event.*; diff --git a/test/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java b/test/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java --- a/test/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java +++ b/test/java/awt/Frame/ShapeNotSetSometimes/ShapeNotSetSometimes.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6988428 @summary Tests whether shape is always set @author anthony.petrov@oracle.com: area=awt.toplevel diff --git a/test/java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java b/test/java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java --- a/test/java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java +++ b/test/java/awt/FullScreen/TranslucentWindow/TranslucentWindow.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6837004 * @summary Checks that non-opaque window can be made a fullscreen window * @author Artem Ananiev diff --git a/test/java/awt/Graphics2D/WhiteTextColorTest.java b/test/java/awt/Graphics2D/WhiteTextColorTest.java --- a/test/java/awt/Graphics2D/WhiteTextColorTest.java +++ b/test/java/awt/Graphics2D/WhiteTextColorTest.java @@ -27,11 +27,13 @@ /** * @test + * @key headful * @bug 8056009 * @summary tests whether Graphics.setColor-calls with Color.white are ignored directly * after pipeline initialization for a certain set of operations. * @author ceisserer */ + public class WhiteTextColorTest extends Frame { public static volatile boolean success = false; diff --git a/test/java/awt/GridLayout/ChangeGridSize/ChangeGridSize.java b/test/java/awt/GridLayout/ChangeGridSize/ChangeGridSize.java --- a/test/java/awt/GridLayout/ChangeGridSize/ChangeGridSize.java +++ b/test/java/awt/GridLayout/ChangeGridSize/ChangeGridSize.java @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Have different components having different preferred sizes * added to a grid layout. Change the rows and columns of the * grid layout and check the components are re-laid out. diff --git a/test/java/awt/GridLayout/ComponentPreferredSize/ComponentPreferredSize.java b/test/java/awt/GridLayout/ComponentPreferredSize/ComponentPreferredSize.java --- a/test/java/awt/GridLayout/ComponentPreferredSize/ComponentPreferredSize.java +++ b/test/java/awt/GridLayout/ComponentPreferredSize/ComponentPreferredSize.java @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Have different components having different preferred sizes * added to a grid layout having various values of row/columns. * Check if the compnents are correctly laid out. diff --git a/test/java/awt/LightweightComponent/LightweightEventTest/LightweightEventTest.java b/test/java/awt/LightweightComponent/LightweightEventTest/LightweightEventTest.java --- a/test/java/awt/LightweightComponent/LightweightEventTest/LightweightEventTest.java +++ b/test/java/awt/LightweightComponent/LightweightEventTest/LightweightEventTest.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @summary Test of mouse move messages to lightweight components * @library ../../regtesthelpers * @build Util diff --git a/test/java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java b/test/java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java --- a/test/java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java +++ b/test/java/awt/LightweightDispatcher/LWDispatcherMemoryLeakTest.java @@ -38,6 +38,7 @@ /* @test + @key headful @bug 7079254 @summary Toolkit eventListener leaks memory @library ../regtesthelpers diff --git a/test/java/awt/List/EmptyListEventTest/EmptyListEventTest.java b/test/java/awt/List/EmptyListEventTest/EmptyListEventTest.java --- a/test/java/awt/List/EmptyListEventTest/EmptyListEventTest.java +++ b/test/java/awt/List/EmptyListEventTest/EmptyListEventTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6366126 * @summary List throws ArrayIndexOutOfBoundsException when pressing ENTER after removing all the items, Win32 * @author Dmitry Cherepanov area=awt.list diff --git a/test/java/awt/List/NofocusListDblClickTest/NofocusListDblClickTest.java b/test/java/awt/List/NofocusListDblClickTest/NofocusListDblClickTest.java --- a/test/java/awt/List/NofocusListDblClickTest/NofocusListDblClickTest.java +++ b/test/java/awt/List/NofocusListDblClickTest/NofocusListDblClickTest.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 6240202 @summary Tests that non-focusable List in a Window generates ActionEvent. @author anton.tarasov@sun.com: area=awt-list diff --git a/test/java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java b/test/java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java --- a/test/java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java +++ b/test/java/awt/MenuBar/MenuBarSetFont/MenuBarSetFont.java @@ -37,6 +37,7 @@ /** * @test + * @key headful * @bug 6263470 * @summary Tries to change font of MenuBar. Test passes if the font has changed * fails otherwise. diff --git a/test/java/awt/Modal/FileDialog/FileDialogAppModal1Test.java b/test/java/awt/Modal/FileDialog/FileDialogAppModal1Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogAppModal1Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogAppModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks an application modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogAppModal2Test.java b/test/java/awt/Modal/FileDialog/FileDialogAppModal2Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogAppModal2Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogAppModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks an application modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogAppModal3Test.java b/test/java/awt/Modal/FileDialog/FileDialogAppModal3Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogAppModal3Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogAppModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks an application modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogAppModal4Test.java b/test/java/awt/Modal/FileDialog/FileDialogAppModal4Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogAppModal4Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogAppModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks an application modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogAppModal5Test.java b/test/java/awt/Modal/FileDialog/FileDialogAppModal5Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogAppModal5Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogAppModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks an application modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogAppModal6Test.java b/test/java/awt/Modal/FileDialog/FileDialogAppModal6Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogAppModal6Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogAppModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks an application modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogDocModal1Test.java b/test/java/awt/Modal/FileDialog/FileDialogDocModal1Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogDocModal1Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a document modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogDocModal2Test.java b/test/java/awt/Modal/FileDialog/FileDialogDocModal2Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogDocModal2Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a document modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogDocModal3Test.java b/test/java/awt/Modal/FileDialog/FileDialogDocModal3Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogDocModal3Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogDocModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a document modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogDocModal4Test.java b/test/java/awt/Modal/FileDialog/FileDialogDocModal4Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogDocModal4Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogDocModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a document modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogDocModal5Test.java b/test/java/awt/Modal/FileDialog/FileDialogDocModal5Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogDocModal5Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogDocModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a document modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogDocModal6Test.java b/test/java/awt/Modal/FileDialog/FileDialogDocModal6Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogDocModal6Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogDocModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a document modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogDocModal7Test.java b/test/java/awt/Modal/FileDialog/FileDialogDocModal7Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogDocModal7Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogDocModal7Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * @summary Check whether a FileDialog set to document modality behaves as expected. * diff --git a/test/java/awt/Modal/FileDialog/FileDialogModal1Test.java b/test/java/awt/Modal/FileDialog/FileDialogModal1Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogModal1Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogModal1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogModal2Test.java b/test/java/awt/Modal/FileDialog/FileDialogModal2Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogModal2Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogModal3Test.java b/test/java/awt/Modal/FileDialog/FileDialogModal3Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogModal3Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogModal3Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogModal4Test.java b/test/java/awt/Modal/FileDialog/FileDialogModal4Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogModal4Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogModal4Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogModal5Test.java b/test/java/awt/Modal/FileDialog/FileDialogModal5Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogModal5Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogModal5Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogModal6Test.java b/test/java/awt/Modal/FileDialog/FileDialogModal6Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogModal6Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogModal6Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogNonModal1Test.java b/test/java/awt/Modal/FileDialog/FileDialogNonModal1Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogNonModal1Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogNonModal1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * * @summary Check whether FileDialog blocks a non-modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogNonModal2Test.java b/test/java/awt/Modal/FileDialog/FileDialogNonModal2Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogNonModal2Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogNonModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 * * @summary Check whether FileDialog blocks a non-modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogNonModal3Test.java b/test/java/awt/Modal/FileDialog/FileDialogNonModal3Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogNonModal3Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogNonModal3Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 * * @summary Check whether FileDialog blocks a non-modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogNonModal4Test.java b/test/java/awt/Modal/FileDialog/FileDialogNonModal4Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogNonModal4Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogNonModal4Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 * * @summary Check whether FileDialog blocks a non-modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogNonModal5Test.java b/test/java/awt/Modal/FileDialog/FileDialogNonModal5Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogNonModal5Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogNonModal5Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 * * @summary Check whether FileDialog blocks a non-modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogNonModal6Test.java b/test/java/awt/Modal/FileDialog/FileDialogNonModal6Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogNonModal6Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogNonModal6Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054359 * * @summary Check whether FileDialog blocks a non-modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogNonModal7Test.java b/test/java/awt/Modal/FileDialog/FileDialogNonModal7Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogNonModal7Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogNonModal7Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 * @summary Check whether a modeless FileDialog behaves as expected. * diff --git a/test/java/awt/Modal/FileDialog/FileDialogTKModal1Test.java b/test/java/awt/Modal/FileDialog/FileDialogTKModal1Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogTKModal1Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogTKModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 8055752 * * @summary Check whether FileDialog blocks a toolkit modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogTKModal2Test.java b/test/java/awt/Modal/FileDialog/FileDialogTKModal2Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogTKModal2Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogTKModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 8055752 * * @summary Check whether FileDialog blocks a toolkit modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogTKModal3Test.java b/test/java/awt/Modal/FileDialog/FileDialogTKModal3Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogTKModal3Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogTKModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 8055752 * * @summary Check whether FileDialog blocks a toolkit modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogTKModal4Test.java b/test/java/awt/Modal/FileDialog/FileDialogTKModal4Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogTKModal4Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogTKModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 8055752 * * @summary Check whether FileDialog blocks a toolkit modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogTKModal5Test.java b/test/java/awt/Modal/FileDialog/FileDialogTKModal5Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogTKModal5Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogTKModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 8055752 * * @summary Check whether FileDialog blocks a toolkit modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogTKModal6Test.java b/test/java/awt/Modal/FileDialog/FileDialogTKModal6Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogTKModal6Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogTKModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 8055752 * * @summary Check whether FileDialog blocks a toolkit modal Dialog diff --git a/test/java/awt/Modal/FileDialog/FileDialogTKModal7Test.java b/test/java/awt/Modal/FileDialog/FileDialogTKModal7Test.java --- a/test/java/awt/Modal/FileDialog/FileDialogTKModal7Test.java +++ b/test/java/awt/Modal/FileDialog/FileDialogTKModal7Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054359 7186009 * @summary Check whether a FileDialog set to toolkit modality behaves as expected. * diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDDAppModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDDAppModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDDAppModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDDAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDDDocModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDDDocModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDDDocModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDDDocModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDDModelessTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDDModelessTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDDModelessTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDDModelessTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDDNonModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDDNonModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDDNonModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDDNonModalTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDDSetModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDDSetModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDDSetModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDDSetModalTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDDToolkitModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDDToolkitModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDDToolkitModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDDToolkitModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDFAppModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDFAppModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDFAppModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDFAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDFSetModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDFSetModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDFSetModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDFSetModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDFToolkitModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDFToolkitModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDFToolkitModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDFToolkitModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a Frame * constructor receives focus, whether its components receives focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWModeless2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDFWNonModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a Dialog * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingDocModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingDocModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingDocModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingDocModalTest.java @@ -28,6 +28,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Test if a document modality works as expected: * whether all the windows lying down the document root diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDAppModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDAppModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDAppModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDDocModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDDocModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDDocModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDDocModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDModelessTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDModelessTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDModelessTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDModelessTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDNonModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDNonModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDNonModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDNonModalTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDSetModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDSetModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDSetModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDSetModalTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDToolkitModalTest.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDToolkitModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDToolkitModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDToolkitModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a Frame * constructor receives focus, whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a null Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a null Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal3Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal3Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal3Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a hidden Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal4Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal4Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal4Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWDocModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a hidden Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a null Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a null Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless3Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless3Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless3Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a hidden Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless4Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless4Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless4Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWModeless4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog created with a hidden Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal1Test.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a null Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a null Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal3Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal3Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal3Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal3Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a hidden Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal4Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal4Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal4Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingFDWNonModal4Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog created with a hidden Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a null Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a null Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal3Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal3Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal3Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a hidden Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal4Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal4Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal4Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a hidden Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal5Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal5Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal5Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal6Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal6Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal6Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsAppModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog created with a Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog created with a Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a null Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a null Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal3Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal3Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal3Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal3Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a hidden Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal4Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal4Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal4Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal4Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a hidden Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal5Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal5Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal5Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal5Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal6Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal6Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal6Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsSetModal6Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog created with a Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal1Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal1Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal1Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a null Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal2Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal2Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal2Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a null Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal3Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal3Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal3Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a hidden Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal4Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal4Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal4Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a hidden Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal5Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal5Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal5Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a Frame * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal6Test.java b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal6Test.java --- a/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal6Test.java +++ b/test/java/awt/Modal/ModalBlockingTests/BlockingWindowsToolkitModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog created with a Dialog * constructor receives focus; whether its components receive focus diff --git a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogAppModalTest.java b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogAppModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogAppModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether an application modal Dialog receives focus; check * if its components receive focus and respond to key events diff --git a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogDocModalTest.java b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogDocModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogDocModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogDocModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a document modal Dialog receives focus; check * if its components receive focus and respond to key events diff --git a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogModelessTest.java b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogModelessTest.java --- a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogModelessTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogModelessTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modeless Dialog receives focus; check * if its components receive focus and respond to key events diff --git a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogNonModalTest.java b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogNonModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogNonModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogNonModalTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a non-modal Dialog receives focus; check * if its components receive focus and respond to key events diff --git a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogSetModalTest.java b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogSetModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogSetModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogSetModalTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a modal Dialog receives focus; check * if its components receive focus and respond to key events diff --git a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogToolkitModalTest.java b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogToolkitModalTest.java --- a/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogToolkitModalTest.java +++ b/test/java/awt/Modal/ModalBlockingTests/UnblockedDialogToolkitModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8049617 * @summary Check whether a toolkit modal Dialog receives focus; check * if its components receive focus and respond to key events diff --git a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogFileTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047179 8044429 * @summary Check whether a FileDialog blocks an application modality excluded Dialog * (it shouldn't). Checks also whether setting a parent dialog to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPageSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPageSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPageSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPageSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a pageDialog blocks an application modality excluded Dialog * (it shouldn't). Checks also whether setting a parent dialog to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPrintSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPrintSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPrintSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeDialogPrintSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a printDialog blocks an application modality excluded Dialog * (it shouldn't). Checks also whether setting a parent dialog to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFrameFileTest.java b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFrameFileTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFrameFileTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFrameFileTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047179 8044429 * @summary Check whether a FileDialog blocks an application modality excluded Frame * (it shouldn't). Checks also whether setting a parent frame to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePageSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePageSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePageSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePageSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a pageDialog blocks an application modality excluded Frame * (it shouldn't). Checks also whether setting a parent frame to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePrintSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePrintSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePrintSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ApplicationExcludeFramePrintSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a printDialog blocks an application modality excluded Frame * (it shouldn't). Checks also whether setting a parent frame to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogFileTest.java b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogFileTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogFileTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogFileTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047179 8044429 * @summary Check whether a FileDialog blocks a toolkit modality excluded Dialog * (it shouldn't). Checks also whether setting a parent dialog to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPageSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPageSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPageSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPageSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a pageDialog blocks a toolkit modality excluded Dialog * (it shouldn't). Checks also whether setting a parent dialog to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPrintSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPrintSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPrintSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeDialogPrintSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a printDialog blocks a toolkit modality excluded Dialog * (it shouldn't). Checks also whether setting a parent dialog to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFrameFileTest.java b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFrameFileTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFrameFileTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFrameFileTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047179 8044429 * @summary Check whether a FileDialog blocks a toolkit modality excluded Frame * (it shouldn't). Checks also whether setting a parent frame to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePageSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePageSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePageSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePageSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a pageDialog blocks a toolkit modality excluded Frame * (it shouldn't). Checks also whether setting a parent frame to be diff --git a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePrintSetupTest.java b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePrintSetupTest.java --- a/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePrintSetupTest.java +++ b/test/java/awt/Modal/ModalExclusionTests/ToolkitExcludeFramePrintSetupTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 7125054 8044429 * @summary Check whether a printDialog blocks a toolkit modality excluded Frame * (it shouldn't). Checks also whether setting a parent frame to be diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when the following * happens: an application modal dialog (D) having null frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFDocModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFDocModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFDocModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFDocModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the * following happens: a document modal dialog (D) having null frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFModelessTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFModelessTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFModelessTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFModelessTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the * following happens: a modeless dialog (D) having null frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFNonModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFNonModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFNonModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFNonModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following * happens: a non-modal dialog (D) having null frame owner is shown; a window having D diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsAppModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsAppModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsAppModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: an application modal dialog (D1) having a null diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsDocModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsDocModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsDocModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsDocModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a document modal dialog (D1) having a null diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsModelessTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsModelessTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsModelessTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsModelessTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a modeless dialog (D1) having a null diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsNonModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsNonModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsNonModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsNonModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a non-modal dialog (D1) having a null diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWAppModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWAppModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWAppModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a frame is shown; an application modal dialog (D) diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWDocModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWDocModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWDocModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWDocModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a frame is shown; a document modal dialog (D) diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWModelessTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWModelessTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWModelessTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWModelessTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a frame is shown; a modeless dialog (D) diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWNonModalTest.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWNonModalTest.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWNonModalTest.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWNonModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a frame is shown; a non-modal dialog (D) diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; an application modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; an application modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; an application modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal4Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal4Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal4Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; an application modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a document modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a document modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a document modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal4Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal4Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal4Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a document modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a modeless dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a modeless dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a modeless dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless4Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless4Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless4Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a modeless dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal4Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal4Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal4Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8049339 * @summary Check whether the focus transfer between windows occurs correctly when the following happens: * a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 8048263 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a frame (F) owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a frame (F) owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFModeless3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a frame (F) owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal1Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal1Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal1Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal2Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal2Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal2Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a hidden frame owner is shown; diff --git a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal3Test.java b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal3Test.java --- a/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal3Test.java +++ b/test/java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether the focus transfer between windows occurs correctly when * the following happens: a window having a frame (F) owner is shown; diff --git a/test/java/awt/Modal/ModalInternalFrameTest/ModalInternalFrameTest.java b/test/java/awt/Modal/ModalInternalFrameTest/ModalInternalFrameTest.java --- a/test/java/awt/Modal/ModalInternalFrameTest/ModalInternalFrameTest.java +++ b/test/java/awt/Modal/ModalInternalFrameTest/ModalInternalFrameTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6518753 @summary Tests the functionality of modal Swing internal frames @author artem.ananiev: area=awt.modal diff --git a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs1Test.java b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs1Test.java --- a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs1Test.java +++ b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs1Test.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8054358 * @summary Check whether a set of dialogs created with a toolkit excluded Frame * parent has a proper modal blocking behavior. Also show a document modal diff --git a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs2Test.java b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs2Test.java --- a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs2Test.java +++ b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs2Test.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8054358 * @summary Check whether a set of dialogs created with an application excluded Frame * parent has a proper modal blocking behavior. Also show a document modal diff --git a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs3Test.java b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs3Test.java --- a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs3Test.java +++ b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs3Test.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8054358 * @summary Check correctness of modal blocking behavior for a chain of Dialogs * having different modality types with a Frame as a document root. diff --git a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs4Test.java b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs4Test.java --- a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs4Test.java +++ b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs4Test.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8054358 8055003 * @summary Check whether application and document modality levels for Dialog * work properly. Also check whether the blocking dialogs are diff --git a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs5Test.java b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs5Test.java --- a/test/java/awt/Modal/MultipleDialogs/MultipleDialogs5Test.java +++ b/test/java/awt/Modal/MultipleDialogs/MultipleDialogs5Test.java @@ -23,9 +23,10 @@ /* * @test + * @key headful * @bug 8054358 * @summary This is a simple check if a chain of dialogs having different - * modality types block each other properly. + * modality types block each other properly. * * @library ../helpers ../../../../lib/testlibrary/ * @build ExtendedRobot diff --git a/test/java/awt/Modal/NullModalityDialogTest/NullModalityDialogTest.java b/test/java/awt/Modal/NullModalityDialogTest/NullModalityDialogTest.java --- a/test/java/awt/Modal/NullModalityDialogTest/NullModalityDialogTest.java +++ b/test/java/awt/Modal/NullModalityDialogTest/NullModalityDialogTest.java @@ -29,6 +29,7 @@ /* * @test + * @key headful * @bug 8047367 * @summary Check whether a Dialog set with null modality type * behaves like a modeless dialog diff --git a/test/java/awt/Modal/OnTop/OnTopAppModal1Test.java b/test/java/awt/Modal/OnTop/OnTopAppModal1Test.java --- a/test/java/awt/Modal/OnTop/OnTopAppModal1Test.java +++ b/test/java/awt/Modal/OnTop/OnTopAppModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether an application modal Dialog created with null Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopAppModal2Test.java b/test/java/awt/Modal/OnTop/OnTopAppModal2Test.java --- a/test/java/awt/Modal/OnTop/OnTopAppModal2Test.java +++ b/test/java/awt/Modal/OnTop/OnTopAppModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether an application modal Dialog created with null Dialog * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopAppModal3Test.java b/test/java/awt/Modal/OnTop/OnTopAppModal3Test.java --- a/test/java/awt/Modal/OnTop/OnTopAppModal3Test.java +++ b/test/java/awt/Modal/OnTop/OnTopAppModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether an application modal Dialog created with hidden Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopAppModal4Test.java b/test/java/awt/Modal/OnTop/OnTopAppModal4Test.java --- a/test/java/awt/Modal/OnTop/OnTopAppModal4Test.java +++ b/test/java/awt/Modal/OnTop/OnTopAppModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether an application modal Dialog created with hidden Dialog * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopAppModal5Test.java b/test/java/awt/Modal/OnTop/OnTopAppModal5Test.java --- a/test/java/awt/Modal/OnTop/OnTopAppModal5Test.java +++ b/test/java/awt/Modal/OnTop/OnTopAppModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether an application modal Dialog created with visible Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopAppModal6Test.java b/test/java/awt/Modal/OnTop/OnTopAppModal6Test.java --- a/test/java/awt/Modal/OnTop/OnTopAppModal6Test.java +++ b/test/java/awt/Modal/OnTop/OnTopAppModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether an application modal Dialog created with visible * Dialog constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopDocModal1Test.java b/test/java/awt/Modal/OnTop/OnTopDocModal1Test.java --- a/test/java/awt/Modal/OnTop/OnTopDocModal1Test.java +++ b/test/java/awt/Modal/OnTop/OnTopDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a document modal Dialog created with null Frame * constructor follows normal Z order. diff --git a/test/java/awt/Modal/OnTop/OnTopDocModal2Test.java b/test/java/awt/Modal/OnTop/OnTopDocModal2Test.java --- a/test/java/awt/Modal/OnTop/OnTopDocModal2Test.java +++ b/test/java/awt/Modal/OnTop/OnTopDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a document modal Dialog created with null Dialog * constructor follows normal Z order. diff --git a/test/java/awt/Modal/OnTop/OnTopDocModal3Test.java b/test/java/awt/Modal/OnTop/OnTopDocModal3Test.java --- a/test/java/awt/Modal/OnTop/OnTopDocModal3Test.java +++ b/test/java/awt/Modal/OnTop/OnTopDocModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a document modal Dialog created with hidden Frame * constructor follows normal Z order. diff --git a/test/java/awt/Modal/OnTop/OnTopDocModal4Test.java b/test/java/awt/Modal/OnTop/OnTopDocModal4Test.java --- a/test/java/awt/Modal/OnTop/OnTopDocModal4Test.java +++ b/test/java/awt/Modal/OnTop/OnTopDocModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a document modal Dialog created with hidden Dialog * constructor follows normal Z order. diff --git a/test/java/awt/Modal/OnTop/OnTopDocModal5Test.java b/test/java/awt/Modal/OnTop/OnTopDocModal5Test.java --- a/test/java/awt/Modal/OnTop/OnTopDocModal5Test.java +++ b/test/java/awt/Modal/OnTop/OnTopDocModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a document modal Dialog created with visible Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopDocModal6Test.java b/test/java/awt/Modal/OnTop/OnTopDocModal6Test.java --- a/test/java/awt/Modal/OnTop/OnTopDocModal6Test.java +++ b/test/java/awt/Modal/OnTop/OnTopDocModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a document modal Dialog created with visible * Dialog constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopModal1Test.java b/test/java/awt/Modal/OnTop/OnTopModal1Test.java --- a/test/java/awt/Modal/OnTop/OnTopModal1Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modal Dialog created with null Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopModal2Test.java b/test/java/awt/Modal/OnTop/OnTopModal2Test.java --- a/test/java/awt/Modal/OnTop/OnTopModal2Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modal Dialog created with null Dialog * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopModal3Test.java b/test/java/awt/Modal/OnTop/OnTopModal3Test.java --- a/test/java/awt/Modal/OnTop/OnTopModal3Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modal Dialog created with hidden Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopModal4Test.java b/test/java/awt/Modal/OnTop/OnTopModal4Test.java --- a/test/java/awt/Modal/OnTop/OnTopModal4Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modal Dialog created with hidden Dialog * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopModal5Test.java b/test/java/awt/Modal/OnTop/OnTopModal5Test.java --- a/test/java/awt/Modal/OnTop/OnTopModal5Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modal Dialog created with visible Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopModal6Test.java b/test/java/awt/Modal/OnTop/OnTopModal6Test.java --- a/test/java/awt/Modal/OnTop/OnTopModal6Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modal Dialog created with visible Dialog * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopModeless1Test.java b/test/java/awt/Modal/OnTop/OnTopModeless1Test.java --- a/test/java/awt/Modal/OnTop/OnTopModeless1Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModeless1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modeless Dialog created with a * null Frame constructor follows normal Z Order. diff --git a/test/java/awt/Modal/OnTop/OnTopModeless2Test.java b/test/java/awt/Modal/OnTop/OnTopModeless2Test.java --- a/test/java/awt/Modal/OnTop/OnTopModeless2Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModeless2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modeless Dialog created with a * null Dialog constructor follows normal Z Order. diff --git a/test/java/awt/Modal/OnTop/OnTopModeless3Test.java b/test/java/awt/Modal/OnTop/OnTopModeless3Test.java --- a/test/java/awt/Modal/OnTop/OnTopModeless3Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModeless3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modeless Dialog created with a * hidden Frame constructor follows normal Z Order. diff --git a/test/java/awt/Modal/OnTop/OnTopModeless4Test.java b/test/java/awt/Modal/OnTop/OnTopModeless4Test.java --- a/test/java/awt/Modal/OnTop/OnTopModeless4Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModeless4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modeless Dialog created with a * hidden Dialog constructor follows normal Z Order. diff --git a/test/java/awt/Modal/OnTop/OnTopModeless5Test.java b/test/java/awt/Modal/OnTop/OnTopModeless5Test.java --- a/test/java/awt/Modal/OnTop/OnTopModeless5Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModeless5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modeless Dialog created with a * visible Frame constructor follows normal Z Order. diff --git a/test/java/awt/Modal/OnTop/OnTopModeless6Test.java b/test/java/awt/Modal/OnTop/OnTopModeless6Test.java --- a/test/java/awt/Modal/OnTop/OnTopModeless6Test.java +++ b/test/java/awt/Modal/OnTop/OnTopModeless6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a modeless Dialog created with a visible Dialog * constructor follows a normal Z order. diff --git a/test/java/awt/Modal/OnTop/OnTopTKModal1Test.java b/test/java/awt/Modal/OnTop/OnTopTKModal1Test.java --- a/test/java/awt/Modal/OnTop/OnTopTKModal1Test.java +++ b/test/java/awt/Modal/OnTop/OnTopTKModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a toolkit modal Dialog created with null Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopTKModal2Test.java b/test/java/awt/Modal/OnTop/OnTopTKModal2Test.java --- a/test/java/awt/Modal/OnTop/OnTopTKModal2Test.java +++ b/test/java/awt/Modal/OnTop/OnTopTKModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a toolkit modal Dialog created with null Dialog * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopTKModal3Test.java b/test/java/awt/Modal/OnTop/OnTopTKModal3Test.java --- a/test/java/awt/Modal/OnTop/OnTopTKModal3Test.java +++ b/test/java/awt/Modal/OnTop/OnTopTKModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a toolkit modal Dialog created with hidden Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopTKModal4Test.java b/test/java/awt/Modal/OnTop/OnTopTKModal4Test.java --- a/test/java/awt/Modal/OnTop/OnTopTKModal4Test.java +++ b/test/java/awt/Modal/OnTop/OnTopTKModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a toolkit modal Dialog created with hidden Dialog * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopTKModal5Test.java b/test/java/awt/Modal/OnTop/OnTopTKModal5Test.java --- a/test/java/awt/Modal/OnTop/OnTopTKModal5Test.java +++ b/test/java/awt/Modal/OnTop/OnTopTKModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a toolkit modal Dialog created with visible Frame * constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/OnTop/OnTopTKModal6Test.java b/test/java/awt/Modal/OnTop/OnTopTKModal6Test.java --- a/test/java/awt/Modal/OnTop/OnTopTKModal6Test.java +++ b/test/java/awt/Modal/OnTop/OnTopTKModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8052012 * @summary Check whether a toolkit modal Dialog created with visible * Dialog constructor stays on top of the windows it blocks. diff --git a/test/java/awt/Modal/ToBack/ToBackAppModal1Test.java b/test/java/awt/Modal/ToBack/ToBackAppModal1Test.java --- a/test/java/awt/Modal/ToBack/ToBackAppModal1Test.java +++ b/test/java/awt/Modal/ToBack/ToBackAppModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether an application modal dialog having a null Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackAppModal2Test.java b/test/java/awt/Modal/ToBack/ToBackAppModal2Test.java --- a/test/java/awt/Modal/ToBack/ToBackAppModal2Test.java +++ b/test/java/awt/Modal/ToBack/ToBackAppModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether an application modal dialog having a null Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackAppModal3Test.java b/test/java/awt/Modal/ToBack/ToBackAppModal3Test.java --- a/test/java/awt/Modal/ToBack/ToBackAppModal3Test.java +++ b/test/java/awt/Modal/ToBack/ToBackAppModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether an application modal dialog having a hidden Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackAppModal4Test.java b/test/java/awt/Modal/ToBack/ToBackAppModal4Test.java --- a/test/java/awt/Modal/ToBack/ToBackAppModal4Test.java +++ b/test/java/awt/Modal/ToBack/ToBackAppModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether an application modal dialog having a hidden Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackAppModal5Test.java b/test/java/awt/Modal/ToBack/ToBackAppModal5Test.java --- a/test/java/awt/Modal/ToBack/ToBackAppModal5Test.java +++ b/test/java/awt/Modal/ToBack/ToBackAppModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether an application modal dialog having a visible Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackAppModal6Test.java b/test/java/awt/Modal/ToBack/ToBackAppModal6Test.java --- a/test/java/awt/Modal/ToBack/ToBackAppModal6Test.java +++ b/test/java/awt/Modal/ToBack/ToBackAppModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether an application modal dialog having a visible Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackDocModal1Test.java b/test/java/awt/Modal/ToBack/ToBackDocModal1Test.java --- a/test/java/awt/Modal/ToBack/ToBackDocModal1Test.java +++ b/test/java/awt/Modal/ToBack/ToBackDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for * a document modal dialog with null Frame parent. diff --git a/test/java/awt/Modal/ToBack/ToBackDocModal2Test.java b/test/java/awt/Modal/ToBack/ToBackDocModal2Test.java --- a/test/java/awt/Modal/ToBack/ToBackDocModal2Test.java +++ b/test/java/awt/Modal/ToBack/ToBackDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for * a document modal dialog with null Dialog parent. diff --git a/test/java/awt/Modal/ToBack/ToBackDocModal3Test.java b/test/java/awt/Modal/ToBack/ToBackDocModal3Test.java --- a/test/java/awt/Modal/ToBack/ToBackDocModal3Test.java +++ b/test/java/awt/Modal/ToBack/ToBackDocModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for * a document modal dialog with hidden Frame parent. diff --git a/test/java/awt/Modal/ToBack/ToBackDocModal4Test.java b/test/java/awt/Modal/ToBack/ToBackDocModal4Test.java --- a/test/java/awt/Modal/ToBack/ToBackDocModal4Test.java +++ b/test/java/awt/Modal/ToBack/ToBackDocModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for * a document modal dialog with hidden Dialog parent. diff --git a/test/java/awt/Modal/ToBack/ToBackDocModal5Test.java b/test/java/awt/Modal/ToBack/ToBackDocModal5Test.java --- a/test/java/awt/Modal/ToBack/ToBackDocModal5Test.java +++ b/test/java/awt/Modal/ToBack/ToBackDocModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a document modal dialog having a visible Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackDocModal6Test.java b/test/java/awt/Modal/ToBack/ToBackDocModal6Test.java --- a/test/java/awt/Modal/ToBack/ToBackDocModal6Test.java +++ b/test/java/awt/Modal/ToBack/ToBackDocModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a document modal dialog having a visible Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackModal1Test.java b/test/java/awt/Modal/ToBack/ToBackModal1Test.java --- a/test/java/awt/Modal/ToBack/ToBackModal1Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModal1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modal dialog having a null Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackModal2Test.java b/test/java/awt/Modal/ToBack/ToBackModal2Test.java --- a/test/java/awt/Modal/ToBack/ToBackModal2Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modal dialog having a null Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackModal3Test.java b/test/java/awt/Modal/ToBack/ToBackModal3Test.java --- a/test/java/awt/Modal/ToBack/ToBackModal3Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModal3Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modal dialog having a hidden Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackModal4Test.java b/test/java/awt/Modal/ToBack/ToBackModal4Test.java --- a/test/java/awt/Modal/ToBack/ToBackModal4Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModal4Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modal dialog having a hidden Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackModal5Test.java b/test/java/awt/Modal/ToBack/ToBackModal5Test.java --- a/test/java/awt/Modal/ToBack/ToBackModal5Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModal5Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modal dialog having a visible Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackModal6Test.java b/test/java/awt/Modal/ToBack/ToBackModal6Test.java --- a/test/java/awt/Modal/ToBack/ToBackModal6Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModal6Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modal dialog having a visible Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackModeless1Test.java b/test/java/awt/Modal/ToBack/ToBackModeless1Test.java --- a/test/java/awt/Modal/ToBack/ToBackModeless1Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModeless1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modeless dialog having a null Frame constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackModeless2Test.java b/test/java/awt/Modal/ToBack/ToBackModeless2Test.java --- a/test/java/awt/Modal/ToBack/ToBackModeless2Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModeless2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modeless dialog having a null Dialog constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackModeless3Test.java b/test/java/awt/Modal/ToBack/ToBackModeless3Test.java --- a/test/java/awt/Modal/ToBack/ToBackModeless3Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModeless3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modeless dialog having a hidden Frame constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackModeless4Test.java b/test/java/awt/Modal/ToBack/ToBackModeless4Test.java --- a/test/java/awt/Modal/ToBack/ToBackModeless4Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModeless4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a modeless dialog having a hidden Dialog constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackModeless5Test.java b/test/java/awt/Modal/ToBack/ToBackModeless5Test.java --- a/test/java/awt/Modal/ToBack/ToBackModeless5Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModeless5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for a modeless dialog * having a visible Frame constructor. diff --git a/test/java/awt/Modal/ToBack/ToBackModeless6Test.java b/test/java/awt/Modal/ToBack/ToBackModeless6Test.java --- a/test/java/awt/Modal/ToBack/ToBackModeless6Test.java +++ b/test/java/awt/Modal/ToBack/ToBackModeless6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for a modeless dialog * having a visible Dialog constructor. diff --git a/test/java/awt/Modal/ToBack/ToBackNonModal1Test.java b/test/java/awt/Modal/ToBack/ToBackNonModal1Test.java --- a/test/java/awt/Modal/ToBack/ToBackNonModal1Test.java +++ b/test/java/awt/Modal/ToBack/ToBackNonModal1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a non-modal dialog having a null Frame constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackNonModal2Test.java b/test/java/awt/Modal/ToBack/ToBackNonModal2Test.java --- a/test/java/awt/Modal/ToBack/ToBackNonModal2Test.java +++ b/test/java/awt/Modal/ToBack/ToBackNonModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a non-modal dialog having a null Dialog constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackNonModal3Test.java b/test/java/awt/Modal/ToBack/ToBackNonModal3Test.java --- a/test/java/awt/Modal/ToBack/ToBackNonModal3Test.java +++ b/test/java/awt/Modal/ToBack/ToBackNonModal3Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a non-modal dialog having a hidden Frame constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackNonModal4Test.java b/test/java/awt/Modal/ToBack/ToBackNonModal4Test.java --- a/test/java/awt/Modal/ToBack/ToBackNonModal4Test.java +++ b/test/java/awt/Modal/ToBack/ToBackNonModal4Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a non-modal dialog having a hidden Dialog constructor * goes behind other windows when toBack is called for it. diff --git a/test/java/awt/Modal/ToBack/ToBackNonModal5Test.java b/test/java/awt/Modal/ToBack/ToBackNonModal5Test.java --- a/test/java/awt/Modal/ToBack/ToBackNonModal5Test.java +++ b/test/java/awt/Modal/ToBack/ToBackNonModal5Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for a non-modal dialog * having a visible Frame constructor. diff --git a/test/java/awt/Modal/ToBack/ToBackNonModal6Test.java b/test/java/awt/Modal/ToBack/ToBackNonModal6Test.java --- a/test/java/awt/Modal/ToBack/ToBackNonModal6Test.java +++ b/test/java/awt/Modal/ToBack/ToBackNonModal6Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check if toBack method works correctly for a non-modal dialog * having a visible Dialog constructor. diff --git a/test/java/awt/Modal/ToBack/ToBackTKModal1Test.java b/test/java/awt/Modal/ToBack/ToBackTKModal1Test.java --- a/test/java/awt/Modal/ToBack/ToBackTKModal1Test.java +++ b/test/java/awt/Modal/ToBack/ToBackTKModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a toolkit modal dialog having a null Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackTKModal2Test.java b/test/java/awt/Modal/ToBack/ToBackTKModal2Test.java --- a/test/java/awt/Modal/ToBack/ToBackTKModal2Test.java +++ b/test/java/awt/Modal/ToBack/ToBackTKModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a toolkit modal dialog having a null Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackTKModal3Test.java b/test/java/awt/Modal/ToBack/ToBackTKModal3Test.java --- a/test/java/awt/Modal/ToBack/ToBackTKModal3Test.java +++ b/test/java/awt/Modal/ToBack/ToBackTKModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a toolkit modal dialog having a hidden Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackTKModal4Test.java b/test/java/awt/Modal/ToBack/ToBackTKModal4Test.java --- a/test/java/awt/Modal/ToBack/ToBackTKModal4Test.java +++ b/test/java/awt/Modal/ToBack/ToBackTKModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a toolkit modal dialog having a hidden Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackTKModal5Test.java b/test/java/awt/Modal/ToBack/ToBackTKModal5Test.java --- a/test/java/awt/Modal/ToBack/ToBackTKModal5Test.java +++ b/test/java/awt/Modal/ToBack/ToBackTKModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a toolkit modal dialog having a visible Frame * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToBack/ToBackTKModal6Test.java b/test/java/awt/Modal/ToBack/ToBackTKModal6Test.java --- a/test/java/awt/Modal/ToBack/ToBackTKModal6Test.java +++ b/test/java/awt/Modal/ToBack/ToBackTKModal6Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8054143 * @summary Check whether a toolkit modal dialog having a visible Dialog * constructor still stays on top of the blocked windows even diff --git a/test/java/awt/Modal/ToFront/DialogToFrontAppModalTest.java b/test/java/awt/Modal/ToFront/DialogToFrontAppModalTest.java --- a/test/java/awt/Modal/ToFront/DialogToFrontAppModalTest.java +++ b/test/java/awt/Modal/ToFront/DialogToFrontAppModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a dialog in presence of * blocking application modal dialog does not bring it to the top diff --git a/test/java/awt/Modal/ToFront/DialogToFrontDocModalTest.java b/test/java/awt/Modal/ToFront/DialogToFrontDocModalTest.java --- a/test/java/awt/Modal/ToFront/DialogToFrontDocModalTest.java +++ b/test/java/awt/Modal/ToFront/DialogToFrontDocModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a dialog in presence of * blocking document modal dialog does not bring it to the top diff --git a/test/java/awt/Modal/ToFront/DialogToFrontModalTest.java b/test/java/awt/Modal/ToFront/DialogToFrontModalTest.java --- a/test/java/awt/Modal/ToFront/DialogToFrontModalTest.java +++ b/test/java/awt/Modal/ToFront/DialogToFrontModalTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a dialog in presence of * blocking modal dialog does not bring it to the top diff --git a/test/java/awt/Modal/ToFront/DialogToFrontModeless1Test.java b/test/java/awt/Modal/ToFront/DialogToFrontModeless1Test.java --- a/test/java/awt/Modal/ToFront/DialogToFrontModeless1Test.java +++ b/test/java/awt/Modal/ToFront/DialogToFrontModeless1Test.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method does not bring a dialog to the top * of a child modeless dialog. diff --git a/test/java/awt/Modal/ToFront/DialogToFrontNonModalTest.java b/test/java/awt/Modal/ToFront/DialogToFrontNonModalTest.java --- a/test/java/awt/Modal/ToFront/DialogToFrontNonModalTest.java +++ b/test/java/awt/Modal/ToFront/DialogToFrontNonModalTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method does not bring a dialog to the top * of a non-modal child dialog. diff --git a/test/java/awt/Modal/ToFront/DialogToFrontTKModalTest.java b/test/java/awt/Modal/ToFront/DialogToFrontTKModalTest.java --- a/test/java/awt/Modal/ToFront/DialogToFrontTKModalTest.java +++ b/test/java/awt/Modal/ToFront/DialogToFrontTKModalTest.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a dialog in presence of * blocking toolkit modal dialog does not bring it to the top diff --git a/test/java/awt/Modal/ToFront/FrameToFrontAppModal1Test.java b/test/java/awt/Modal/ToFront/FrameToFrontAppModal1Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontAppModal1Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontAppModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking application modal dialog having a null Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontAppModal2Test.java b/test/java/awt/Modal/ToFront/FrameToFrontAppModal2Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontAppModal2Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontAppModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking application modal dialog having a null Dialog parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontAppModal3Test.java b/test/java/awt/Modal/ToFront/FrameToFrontAppModal3Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontAppModal3Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontAppModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking application modal dialog having a hidden Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontAppModal4Test.java b/test/java/awt/Modal/ToFront/FrameToFrontAppModal4Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontAppModal4Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontAppModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking application modal dialog having a hidden Dialog parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontAppModal5Test.java b/test/java/awt/Modal/ToFront/FrameToFrontAppModal5Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontAppModal5Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontAppModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking application modal dialog having a visible Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontDocModal1Test.java b/test/java/awt/Modal/ToFront/FrameToFrontDocModal1Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontDocModal1Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontDocModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking document modal dialog having a visible Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontDocModal2Test.java b/test/java/awt/Modal/ToFront/FrameToFrontDocModal2Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontDocModal2Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontDocModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check if toFront method works correctly for a document modal dialog. * diff --git a/test/java/awt/Modal/ToFront/FrameToFrontModal1Test.java b/test/java/awt/Modal/ToFront/FrameToFrontModal1Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontModal1Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontModal1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking modal dialog having a null Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontModal2Test.java b/test/java/awt/Modal/ToFront/FrameToFrontModal2Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontModal2Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontModal2Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking modal dialog having a null Dialog parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontModal3Test.java b/test/java/awt/Modal/ToFront/FrameToFrontModal3Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontModal3Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontModal3Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking modal dialog having a hidden Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontModal4Test.java b/test/java/awt/Modal/ToFront/FrameToFrontModal4Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontModal4Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontModal4Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking modal dialog having a hidden Dialog parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontModal5Test.java b/test/java/awt/Modal/ToFront/FrameToFrontModal5Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontModal5Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontModal5Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking modal dialog having a visible Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontModeless1Test.java b/test/java/awt/Modal/ToFront/FrameToFrontModeless1Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontModeless1Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontModeless1Test.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method does not bring a frame to the top of * a modeless child dialog. diff --git a/test/java/awt/Modal/ToFront/FrameToFrontNonModalTest.java b/test/java/awt/Modal/ToFront/FrameToFrontNonModalTest.java --- a/test/java/awt/Modal/ToFront/FrameToFrontNonModalTest.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontNonModalTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method does not bring a frame to the top * of a non-modal child dialog. diff --git a/test/java/awt/Modal/ToFront/FrameToFrontTKModal1Test.java b/test/java/awt/Modal/ToFront/FrameToFrontTKModal1Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontTKModal1Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontTKModal1Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking modal toolkit dialog having a null Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontTKModal2Test.java b/test/java/awt/Modal/ToFront/FrameToFrontTKModal2Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontTKModal2Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontTKModal2Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking toolkit modal dialog having a null Dialog parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontTKModal3Test.java b/test/java/awt/Modal/ToFront/FrameToFrontTKModal3Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontTKModal3Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontTKModal3Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking toolkit modal dialog having a hidden Frame parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontTKModal4Test.java b/test/java/awt/Modal/ToFront/FrameToFrontTKModal4Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontTKModal4Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontTKModal4Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking toolkit modal dialog having a hidden Dialog parent diff --git a/test/java/awt/Modal/ToFront/FrameToFrontTKModal5Test.java b/test/java/awt/Modal/ToFront/FrameToFrontTKModal5Test.java --- a/test/java/awt/Modal/ToFront/FrameToFrontTKModal5Test.java +++ b/test/java/awt/Modal/ToFront/FrameToFrontTKModal5Test.java @@ -25,6 +25,7 @@ /* * @test + * @key headful * @bug 8050885 * @summary Check that calling toFront method for a frame in presence of * blocking toolkit modal dialog having a visible Frame parent diff --git a/test/java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java b/test/java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java --- a/test/java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java +++ b/test/java/awt/Mouse/EnterExitEvents/DragWindowOutOfFrameTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 7154048 * @summary Window created under a mouse does not receive mouse enter event. * Mouse Entered/Exited events should be generated during dragging the window diff --git a/test/java/awt/Mouse/EnterExitEvents/DragWindowTest.java b/test/java/awt/Mouse/EnterExitEvents/DragWindowTest.java --- a/test/java/awt/Mouse/EnterExitEvents/DragWindowTest.java +++ b/test/java/awt/Mouse/EnterExitEvents/DragWindowTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 7154048 * @summary Window created under a mouse does not receive mouse enter event. * Mouse Entered/Exited events are wrongly generated during dragging the window diff --git a/test/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java b/test/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java --- a/test/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java +++ b/test/java/awt/Mouse/EnterExitEvents/ResizingFrameTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 7154048 * @summary Programmatically resized window does not receive mouse entered/exited events * @author alexandr.scherbatiy area=awt.event diff --git a/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java b/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java --- a/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java +++ b/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithOverlay.java @@ -29,6 +29,7 @@ /** * @test + * @key headful * @bug 8012026 * @summary Component.getMousePosition() does not work in an applet on MacOS * @author Petr Pchelko diff --git a/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java b/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java --- a/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java +++ b/test/java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java @@ -30,6 +30,7 @@ /** * @test + * @key headful * @bug 8012026 * @summary Component.getMousePosition() does not work in an applet on MacOS * @author Petr Pchelko diff --git a/test/java/awt/Mouse/MouseComboBoxTest/MouseComboBoxTest.java b/test/java/awt/Mouse/MouseComboBoxTest/MouseComboBoxTest.java --- a/test/java/awt/Mouse/MouseComboBoxTest/MouseComboBoxTest.java +++ b/test/java/awt/Mouse/MouseComboBoxTest/MouseComboBoxTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8032872 * @summary Tests JComboBox selection via the mouse * @author Dmitry Markov diff --git a/test/java/awt/Mouse/MouseDragEvent/MouseDraggedTest.java b/test/java/awt/Mouse/MouseDragEvent/MouseDraggedTest.java --- a/test/java/awt/Mouse/MouseDragEvent/MouseDraggedTest.java +++ b/test/java/awt/Mouse/MouseDragEvent/MouseDraggedTest.java @@ -26,6 +26,7 @@ import javax.swing.*; /* * @test + * @key headful * @bug 8080137 * @summary Dragged events for extra mouse buttons (4,5,6) are not generated * on JSplitPane diff --git a/test/java/awt/Mouse/RemovedComponentMouseListener/RemovedComponentMouseListener.java b/test/java/awt/Mouse/RemovedComponentMouseListener/RemovedComponentMouseListener.java --- a/test/java/awt/Mouse/RemovedComponentMouseListener/RemovedComponentMouseListener.java +++ b/test/java/awt/Mouse/RemovedComponentMouseListener/RemovedComponentMouseListener.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8061636 * @summary fix for 7079254 changes behavior of MouseListener, MouseMotionListener * @library ../../regtesthelpers diff --git a/test/java/awt/MouseAdapter/MouseAdapterUnitTest/MouseAdapterUnitTest.java b/test/java/awt/MouseAdapter/MouseAdapterUnitTest/MouseAdapterUnitTest.java --- a/test/java/awt/MouseAdapter/MouseAdapterUnitTest/MouseAdapterUnitTest.java +++ b/test/java/awt/MouseAdapter/MouseAdapterUnitTest/MouseAdapterUnitTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 4453162 @summary MouseAdapter should implement MouseMotionListener and MouseWheelListener @author andrei.dmitriev: area= diff --git a/test/java/awt/MouseInfo/JContainerMousePositionTest.java b/test/java/awt/MouseInfo/JContainerMousePositionTest.java --- a/test/java/awt/MouseInfo/JContainerMousePositionTest.java +++ b/test/java/awt/MouseInfo/JContainerMousePositionTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @summary unit test for a new method in Container class: getMousePosition(boolean) @author dav@sparc.spb.su: area= @bug 4009555 diff --git a/test/java/awt/Multiscreen/LocationRelativeToTest/LocationRelativeToTest.java b/test/java/awt/Multiscreen/LocationRelativeToTest/LocationRelativeToTest.java --- a/test/java/awt/Multiscreen/LocationRelativeToTest/LocationRelativeToTest.java +++ b/test/java/awt/Multiscreen/LocationRelativeToTest/LocationRelativeToTest.java @@ -22,15 +22,16 @@ */ /* - @test - @bug 6232687 - @summary Tests that Window.setLocationRelativeTo() method works correctly -for different multiscreen configurations - @author artem.ananiev, area=awt.multiscreen - @library ../../regtesthelpers - @build Util - @run main LocationRelativeToTest -*/ + * @test + * @key headful + * @bug 6232687 + * @summary Tests that Window.setLocationRelativeTo() method works correctly + * for different multiscreen configurations + * @author artem.ananiev, area=awt.multiscreen + * @library ../../regtesthelpers + * @build Util + * @run main LocationRelativeToTest + */ import java.awt.*; import java.awt.event.*; diff --git a/test/java/awt/Multiscreen/TranslucencyThrowsExceptionWhenFullScreen/TranslucencyThrowsExceptionWhenFullScreen.java b/test/java/awt/Multiscreen/TranslucencyThrowsExceptionWhenFullScreen/TranslucencyThrowsExceptionWhenFullScreen.java --- a/test/java/awt/Multiscreen/TranslucencyThrowsExceptionWhenFullScreen/TranslucencyThrowsExceptionWhenFullScreen.java +++ b/test/java/awt/Multiscreen/TranslucencyThrowsExceptionWhenFullScreen/TranslucencyThrowsExceptionWhenFullScreen.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6838089 @summary Translucent windows should throw exception in FS mode @author dmitry.cherepanov@oracle.com: area=awt-multiscreen diff --git a/test/java/awt/Paint/ExposeOnEDT.java b/test/java/awt/Paint/ExposeOnEDT.java --- a/test/java/awt/Paint/ExposeOnEDT.java +++ b/test/java/awt/Paint/ExposeOnEDT.java @@ -26,6 +26,7 @@ /** * @test + * @key headful * @bug 7090424 * @author Sergey Bylokhov * @library ../../../lib/testlibrary/ diff --git a/test/java/awt/Paint/PaintNativeOnUpdate.java b/test/java/awt/Paint/PaintNativeOnUpdate.java --- a/test/java/awt/Paint/PaintNativeOnUpdate.java +++ b/test/java/awt/Paint/PaintNativeOnUpdate.java @@ -31,6 +31,7 @@ /** * @test + * @key headful * @bug 7157680 * @library ../../../lib/testlibrary * @build ExtendedRobot diff --git a/test/java/awt/Paint/bug8024864.java b/test/java/awt/Paint/bug8024864.java --- a/test/java/awt/Paint/bug8024864.java +++ b/test/java/awt/Paint/bug8024864.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8024864 8031422 * @summary [macosx] Problems with rendering of controls * @author Petr Pchelko diff --git a/test/java/awt/PrintJob/PrinterException.java b/test/java/awt/PrintJob/PrinterException.java --- a/test/java/awt/PrintJob/PrinterException.java +++ b/test/java/awt/PrintJob/PrinterException.java @@ -22,6 +22,7 @@ */ /* * @test + * @key headful * @bug 7161283 8158520 * @summary Toolkit.getPrintJob throws NPE if no printer available * @run main PrinterException diff --git a/test/java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java b/test/java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java --- a/test/java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java +++ b/test/java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java @@ -23,6 +23,7 @@ /* @test %I% %E% + @key headful @bug 6315717 @summary verifies that Robot is accepting extra mouse buttons @author Andrei Dmitriev : area=awt.mouse diff --git a/test/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java b/test/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java --- a/test/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java +++ b/test/java/awt/Robot/ModifierRobotKey/ModifierRobotKeyTest.java @@ -36,6 +36,7 @@ /* * @test 8155742 + * @key headful * @summary Make sure that modifier key mask is set when robot press * some key with one or more modifiers. * @library ../../../../lib/testlibrary/ diff --git a/test/java/awt/TextArea/TextAreaCaretVisibilityTest/bug7129742.java b/test/java/awt/TextArea/TextAreaCaretVisibilityTest/bug7129742.java --- a/test/java/awt/TextArea/TextAreaCaretVisibilityTest/bug7129742.java +++ b/test/java/awt/TextArea/TextAreaCaretVisibilityTest/bug7129742.java @@ -26,7 +26,9 @@ */ -/* @test +/* + * @test + * @key headful * @bug 7129742 * @summary Focus in non-editable TextArea is not shown on Linux. * @requires (os.family == "linux" | os.family == "solaris") diff --git a/test/java/awt/TextArea/TextAreaEditing/TextAreaEditing.java b/test/java/awt/TextArea/TextAreaEditing/TextAreaEditing.java --- a/test/java/awt/TextArea/TextAreaEditing/TextAreaEditing.java +++ b/test/java/awt/TextArea/TextAreaEditing/TextAreaEditing.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8040322 8060137 @library ../../regtesthelpers @build Util diff --git a/test/java/awt/TextField/TextFieldEditing/TextFieldEditing.java b/test/java/awt/TextField/TextFieldEditing/TextFieldEditing.java --- a/test/java/awt/TextField/TextFieldEditing/TextFieldEditing.java +++ b/test/java/awt/TextField/TextFieldEditing/TextFieldEditing.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8060137 @library ../../regtesthelpers @build Util diff --git a/test/java/awt/Toolkit/AutoShutdown/ShowExitTest/ShowExitTest.sh b/test/java/awt/Toolkit/AutoShutdown/ShowExitTest/ShowExitTest.sh --- a/test/java/awt/Toolkit/AutoShutdown/ShowExitTest/ShowExitTest.sh +++ b/test/java/awt/Toolkit/AutoShutdown/ShowExitTest/ShowExitTest.sh @@ -25,6 +25,7 @@ # # @test ShowExitTest.sh +# @key headful # @bug 6513421 # @summary Java process does not terminate on closing the Main Application Frame # diff --git a/test/java/awt/Toolkit/LockingKeyStateTest/LockingKeyStateTest.java b/test/java/awt/Toolkit/LockingKeyStateTest/LockingKeyStateTest.java --- a/test/java/awt/Toolkit/LockingKeyStateTest/LockingKeyStateTest.java +++ b/test/java/awt/Toolkit/LockingKeyStateTest/LockingKeyStateTest.java @@ -26,6 +26,7 @@ /* @test + @key headful @summary verify LOCK buttons toogle @author Yuri.Nesterenko, Dmitriy.Ermashov @library ../../../../lib/testlibrary diff --git a/test/java/awt/Toolkit/SecurityTest/SecurityTest2.java b/test/java/awt/Toolkit/SecurityTest/SecurityTest2.java --- a/test/java/awt/Toolkit/SecurityTest/SecurityTest2.java +++ b/test/java/awt/Toolkit/SecurityTest/SecurityTest2.java @@ -22,13 +22,14 @@ */ /* - @test - @bug 6599601 - @summary tests that a simple GUI application runs without any -exceptions thrown - @author Artem.Ananiev area=awt.Toolkit - @run main SecurityTest2 -*/ + * @test + * @key headful + * @bug 6599601 + * @summary tests that a simple GUI application runs without any + * exceptions thrown + * @author Artem.Ananiev area=awt.Toolkit + * @run main SecurityTest2 + */ import java.awt.*; diff --git a/test/java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java b/test/java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java --- a/test/java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java +++ b/test/java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8007220 @summary Reference to the popup leaks after the TrayIcon is removed @author Petr Pchelko diff --git a/test/java/awt/Window/8027025/Test8027025.java b/test/java/awt/Window/8027025/Test8027025.java --- a/test/java/awt/Window/8027025/Test8027025.java +++ b/test/java/awt/Window/8027025/Test8027025.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8027025 * @summary [macosx] getLocationOnScreen returns 0 if parent invisible * @author Petr Pchelko diff --git a/test/java/awt/Window/AlwaysOnTop/AlwaysOnTopFieldTest.java b/test/java/awt/Window/AlwaysOnTop/AlwaysOnTopFieldTest.java --- a/test/java/awt/Window/AlwaysOnTop/AlwaysOnTopFieldTest.java +++ b/test/java/awt/Window/AlwaysOnTop/AlwaysOnTopFieldTest.java @@ -26,6 +26,7 @@ import java.awt.Window; /** * @test + * @key headful * @bug 7081594 * @author Alexander Scherbatiy * @summary Windows owned by an always-on-top window DO NOT automatically become always-on-top @@ -37,7 +38,7 @@ Robot robot; try { robot = new Robot(); - }catch(Exception ex) { + } catch(Exception ex) { ex.printStackTrace(); throw new RuntimeException("Unexpected failure"); } diff --git a/test/java/awt/Window/AlwaysOnTop/AutoTestOnTop.java b/test/java/awt/Window/AlwaysOnTop/AutoTestOnTop.java --- a/test/java/awt/Window/AlwaysOnTop/AutoTestOnTop.java +++ b/test/java/awt/Window/AlwaysOnTop/AutoTestOnTop.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 4632143 @summary Unit test for the RFE window/frame/dialog always on top @author dom@sparc.spb.su: area=awt.toplevel diff --git a/test/java/awt/Window/ChildProperties/ChildWindowProperties.java b/test/java/awt/Window/ChildProperties/ChildWindowProperties.java --- a/test/java/awt/Window/ChildProperties/ChildWindowProperties.java +++ b/test/java/awt/Window/ChildProperties/ChildWindowProperties.java @@ -21,12 +21,14 @@ * questions. */ - /* - @test - @bug 8057574 - @summary Verify that child Window does not inherit parent's Properties - @run main ChildWindowProperties +/* + * @test + * @key headful + * @bug 8057574 + * @summary Verify that child Window does not inherit parent's Properties + * @run main ChildWindowProperties */ + import java.awt.Color; import java.awt.Dialog; import java.awt.Font; diff --git a/test/java/awt/Window/MaximizeOffscreen/MaximizeOffscreenTest.java b/test/java/awt/Window/MaximizeOffscreen/MaximizeOffscreenTest.java --- a/test/java/awt/Window/MaximizeOffscreen/MaximizeOffscreenTest.java +++ b/test/java/awt/Window/MaximizeOffscreen/MaximizeOffscreenTest.java @@ -23,6 +23,7 @@ /** * @test @summary JVM crash if the frame maximized from offscreen + * @key headful * @bug 8020210 * @author Petr Pchelko * @library ../../regtesthelpers diff --git a/test/java/awt/Window/OwnedWindowsSerialization/OwnedWindowsSerialization.java b/test/java/awt/Window/OwnedWindowsSerialization/OwnedWindowsSerialization.java --- a/test/java/awt/Window/OwnedWindowsSerialization/OwnedWindowsSerialization.java +++ b/test/java/awt/Window/OwnedWindowsSerialization/OwnedWindowsSerialization.java @@ -28,7 +28,9 @@ import java.io.ObjectInputStream; import java.io.ObjectOutputStream; -/* @test +/* + * @test + * @key headful * @bug 8027152 * @summary Checks that ownedWindowList is serialized and deserialized properly and alwaysOnTop works after deserialization * @author Petr Pchelko diff --git a/test/java/awt/Window/TopLevelLocation/TopLevelLocation.java b/test/java/awt/Window/TopLevelLocation/TopLevelLocation.java --- a/test/java/awt/Window/TopLevelLocation/TopLevelLocation.java +++ b/test/java/awt/Window/TopLevelLocation/TopLevelLocation.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @bug 8027628 * @author Oleg Pekhovskiy * @summary JWindow jumps to (0, 0) after mouse clicked diff --git a/test/java/awt/Window/WindowGCInFullScreen/WindowGCInFullScreen.java b/test/java/awt/Window/WindowGCInFullScreen/WindowGCInFullScreen.java --- a/test/java/awt/Window/WindowGCInFullScreen/WindowGCInFullScreen.java +++ b/test/java/awt/Window/WindowGCInFullScreen/WindowGCInFullScreen.java @@ -32,6 +32,7 @@ /** * @test + * @key headful * @bug 8019591 * @author Sergey Bylokhov */ diff --git a/test/java/awt/Window/WindowJumpingTest/WindowJumpingTest.java b/test/java/awt/Window/WindowJumpingTest/WindowJumpingTest.java --- a/test/java/awt/Window/WindowJumpingTest/WindowJumpingTest.java +++ b/test/java/awt/Window/WindowJumpingTest/WindowJumpingTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8080729 * @summary Dialogs on multiscreen jump to parent frame on focus gain * @author Dmitry Markov diff --git a/test/java/awt/Window/WindowsLeak/WindowsLeak.java b/test/java/awt/Window/WindowsLeak/WindowsLeak.java --- a/test/java/awt/Window/WindowsLeak/WindowsLeak.java +++ b/test/java/awt/Window/WindowsLeak/WindowsLeak.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8013563 8028486 * @summary Tests that windows are removed from windows list * @library /javax/swing/regtesthelpers diff --git a/test/java/awt/datatransfer/DataFlavor/NullDataFlavorTest.java b/test/java/awt/datatransfer/DataFlavor/NullDataFlavorTest.java --- a/test/java/awt/datatransfer/DataFlavor/NullDataFlavorTest.java +++ b/test/java/awt/datatransfer/DataFlavor/NullDataFlavorTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 4682039 @summary Tests that DataTransferer.getFormatsForFlavors() does not throw NullPointerException if some of given as parameter data flavors diff --git a/test/java/awt/datatransfer/UnicodeTransferTest/UnicodeTransferTest.java b/test/java/awt/datatransfer/UnicodeTransferTest/UnicodeTransferTest.java --- a/test/java/awt/datatransfer/UnicodeTransferTest/UnicodeTransferTest.java +++ b/test/java/awt/datatransfer/UnicodeTransferTest/UnicodeTransferTest.java @@ -24,6 +24,7 @@ /* @test + @key headful @bug 4718897 @summary tests that a Unicode string can be transferred between JVMs. @author das@sparc.spb.su area=datatransfer diff --git a/test/java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java b/test/java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java --- a/test/java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java +++ b/test/java/awt/dnd/AcceptDropMultipleTimes/AcceptDropMultipleTimes.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @bug 8029979 * @summary Checks if acceptDrop() can be called several times * @library ../../regtesthelpers diff --git a/test/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java b/test/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java --- a/test/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java +++ b/test/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java @@ -23,6 +23,7 @@ /** * @test @summary JVM crash if the frame is disposed in DropTargetListener + * @key headful * @author Petr Pchelko * @library ../../regtesthelpers * @build Util diff --git a/test/java/awt/dnd/DropTargetEnterExitTest/ExtraDragEnterTest.java b/test/java/awt/dnd/DropTargetEnterExitTest/ExtraDragEnterTest.java --- a/test/java/awt/dnd/DropTargetEnterExitTest/ExtraDragEnterTest.java +++ b/test/java/awt/dnd/DropTargetEnterExitTest/ExtraDragEnterTest.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @bug 8024163 * @summary Checks the dragEnter event is correctly generated * @library ../../regtesthelpers diff --git a/test/java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java b/test/java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java --- a/test/java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java +++ b/test/java/awt/dnd/DropTargetEnterExitTest/MissedDragExitTest.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @bug 8024163 * @summary Checks that dragExit is generated when the new DropTarget is created under the drag * @library ../../regtesthelpers diff --git a/test/java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java b/test/java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java --- a/test/java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java +++ b/test/java/awt/dnd/MissingDragExitEventTest/MissingDragExitEventTest.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @bug 8027913 * @library ../../regtesthelpers * @build Util diff --git a/test/java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java b/test/java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java --- a/test/java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java +++ b/test/java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java @@ -22,13 +22,14 @@ */ /* -@test -@bug 8068283 -@summary Checks that +Char accelerators work when pressed in a text component -@author Anton Nashatyrev -@modules java.desktop/sun.awt -@run main AltCharAcceleratorTest -*/ + * @test + * @key headful + * @bug 8068283 + * @summary Checks that +Char accelerators work when pressed in a text component + * @author Anton Nashatyrev + * @modules java.desktop/sun.awt + * @run main AltCharAcceleratorTest + */ import javax.swing.*; import java.awt.*; diff --git a/test/java/awt/event/KeyEvent/CorrectTime/CorrectTime.java b/test/java/awt/event/KeyEvent/CorrectTime/CorrectTime.java --- a/test/java/awt/event/KeyEvent/CorrectTime/CorrectTime.java +++ b/test/java/awt/event/KeyEvent/CorrectTime/CorrectTime.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6451578 @library ../../../regtesthelpers @build Sysout AbstractTest Util diff --git a/test/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java b/test/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java --- a/test/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java +++ b/test/java/awt/event/KeyEvent/ExtendedKeyCode/ExtendedKeyCodeTest.java @@ -28,6 +28,7 @@ /* * @test + * @key headful * @bug 8007156 8025126 * @summary Extended key code is not set for a key event * @author Alexandr Scherbatiy diff --git a/test/java/awt/event/KeyEvent/ExtendedModifiersTest/ExtendedModifiersTest.java b/test/java/awt/event/KeyEvent/ExtendedModifiersTest/ExtendedModifiersTest.java --- a/test/java/awt/event/KeyEvent/ExtendedModifiersTest/ExtendedModifiersTest.java +++ b/test/java/awt/event/KeyEvent/ExtendedModifiersTest/ExtendedModifiersTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8043126 8145116 * @summary Check whether * 1. correct extended modifiers are returned @@ -281,4 +282,4 @@ ExtendedModifiersTest test = new ExtendedModifiersTest(); test.doTest(); } -} \ No newline at end of file +} diff --git a/test/java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java b/test/java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java --- a/test/java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java +++ b/test/java/awt/event/KeyEvent/KeyMaskTest/KeyMaskTest.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 8043126 * @summary Check whether KeyEvent.getModifiers() returns correct modifiers * when Ctrl, Alt or Shift keys are pressed. diff --git a/test/java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java b/test/java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java --- a/test/java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java +++ b/test/java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 7154072 7161320 @summary Tests that key events with modifiers are not swallowed. @author anton.tarasov: area=awt.focus diff --git a/test/java/awt/event/MouseEvent/DisabledComponents/DisabledComponentsTest.java b/test/java/awt/event/MouseEvent/DisabledComponents/DisabledComponentsTest.java --- a/test/java/awt/event/MouseEvent/DisabledComponents/DisabledComponentsTest.java +++ b/test/java/awt/event/MouseEvent/DisabledComponents/DisabledComponentsTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 4173714 @summary java.awt.button behaves differently under Win32/Solaris @author tdv@sparc.spb.su diff --git a/test/java/awt/event/MouseEvent/EnterAsGrabbedEvent/EnterAsGrabbedEvent.java b/test/java/awt/event/MouseEvent/EnterAsGrabbedEvent/EnterAsGrabbedEvent.java --- a/test/java/awt/event/MouseEvent/EnterAsGrabbedEvent/EnterAsGrabbedEvent.java +++ b/test/java/awt/event/MouseEvent/EnterAsGrabbedEvent/EnterAsGrabbedEvent.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6317481 8012325 @summary REG:Pressing the mouse, dragging and releasing it outside the button triggers ActionEvent, XAWT @author Dmitry.Cherepanov@SUN.COM area=awt.event diff --git a/test/java/awt/event/MouseEvent/MouseButtonsAndKeyMasksTest/MouseButtonsAndKeyMasksTest.java b/test/java/awt/event/MouseEvent/MouseButtonsAndKeyMasksTest/MouseButtonsAndKeyMasksTest.java --- a/test/java/awt/event/MouseEvent/MouseButtonsAndKeyMasksTest/MouseButtonsAndKeyMasksTest.java +++ b/test/java/awt/event/MouseEvent/MouseButtonsAndKeyMasksTest/MouseButtonsAndKeyMasksTest.java @@ -40,6 +40,7 @@ /* * @test + * @key headful * @bug 8043126 * @summary Check whether MouseEvent.getModifiers(), MouseEvent.getModifiersEx() * and KeyEvent.getModifiers() return correct modifiers when pressing diff --git a/test/java/awt/event/MouseEvent/MouseButtonsTest/MouseButtonsTest.java b/test/java/awt/event/MouseEvent/MouseButtonsTest/MouseButtonsTest.java --- a/test/java/awt/event/MouseEvent/MouseButtonsTest/MouseButtonsTest.java +++ b/test/java/awt/event/MouseEvent/MouseButtonsTest/MouseButtonsTest.java @@ -38,6 +38,7 @@ /* * @test + * @key headful * @bug 8043126 * @summary Check whether getButton() returns correct mouse button * number when the mouse buttons are pressed and getModifiers() diff --git a/test/java/awt/event/MouseEvent/MultipleMouseButtonsTest/MultipleMouseButtonsTest.java b/test/java/awt/event/MouseEvent/MultipleMouseButtonsTest/MultipleMouseButtonsTest.java --- a/test/java/awt/event/MouseEvent/MultipleMouseButtonsTest/MultipleMouseButtonsTest.java +++ b/test/java/awt/event/MouseEvent/MultipleMouseButtonsTest/MultipleMouseButtonsTest.java @@ -32,6 +32,7 @@ /* * @test + * @key headful * @bug 8043126 * @summary Check whether correct modifiers set when multiple mouse buttons were pressed; * check number of received events. diff --git a/test/java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.java b/test/java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.java --- a/test/java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.java +++ b/test/java/awt/event/MouseEvent/SpuriousExitEnter/SpuriousExitEnter_3.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6479820 @library ../../../regtesthelpers @build Util diff --git a/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java b/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java --- a/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java +++ b/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6480024 @library ../../../regtesthelpers @build Util Sysout AbstractTest diff --git a/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java b/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java --- a/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java +++ b/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6480024 @library ../../../regtesthelpers @build Util Sysout AbstractTest diff --git a/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_4.java b/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_4.java --- a/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_4.java +++ b/test/java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_4.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6480024 @library ../../../regtesthelpers @build Util Sysout AbstractTest diff --git a/test/java/awt/event/MouseWheelEvent/WheelModifier/WheelModifier.java b/test/java/awt/event/MouseWheelEvent/WheelModifier/WheelModifier.java --- a/test/java/awt/event/MouseWheelEvent/WheelModifier/WheelModifier.java +++ b/test/java/awt/event/MouseWheelEvent/WheelModifier/WheelModifier.java @@ -21,11 +21,14 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 8041470 @summary JButtons stay pressed after they have lost focus if you use the mouse wheel @author Anton Nashatyrev -*/ + */ + import javax.swing.*; import java.awt.*; import java.awt.event.*; diff --git a/test/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest.java b/test/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest.java --- a/test/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest.java +++ b/test/java/awt/event/TextEvent/TextEventSequenceTest/TextEventSequenceTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4028580 * @summary TextArea does not send TextEvent when setText. Does for insert * @author kdm@sparc.spb.su: area= awt.TextAvent diff --git a/test/java/awt/grab/GrabOnUnfocusableToplevel/GrabOnUnfocusableToplevel.java b/test/java/awt/grab/GrabOnUnfocusableToplevel/GrabOnUnfocusableToplevel.java --- a/test/java/awt/grab/GrabOnUnfocusableToplevel/GrabOnUnfocusableToplevel.java +++ b/test/java/awt/grab/GrabOnUnfocusableToplevel/GrabOnUnfocusableToplevel.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6539458 @summary JPopupMenu does not display if invoker is instance of JWindow @author oleg.sukhodolsky area=awt.grab diff --git a/test/java/awt/im/memoryleak/InputContextMemoryLeakTest.java b/test/java/awt/im/memoryleak/InputContextMemoryLeakTest.java --- a/test/java/awt/im/memoryleak/InputContextMemoryLeakTest.java +++ b/test/java/awt/im/memoryleak/InputContextMemoryLeakTest.java @@ -36,6 +36,7 @@ /* @test + @key headful @bug 7079260 @summary XInputContext leaks memory by needRecetXXIClient field @author Petr Pchelko diff --git a/test/java/awt/image/multiresolution/MenuMultiresolutionIconTest.java b/test/java/awt/image/multiresolution/MenuMultiresolutionIconTest.java --- a/test/java/awt/image/multiresolution/MenuMultiresolutionIconTest.java +++ b/test/java/awt/image/multiresolution/MenuMultiresolutionIconTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8150258 * @author a.stepanov * @summary Check that correct resolution variants are chosen for menu icons diff --git a/test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java b/test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java --- a/test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java +++ b/test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8150176 8150844 @author a.stepanov @summary Check if correct resolution variant is used diff --git a/test/java/awt/print/PrinterJob/LandscapeStackOverflow.java b/test/java/awt/print/PrinterJob/LandscapeStackOverflow.java --- a/test/java/awt/print/PrinterJob/LandscapeStackOverflow.java +++ b/test/java/awt/print/PrinterJob/LandscapeStackOverflow.java @@ -22,6 +22,7 @@ */ /* * @test + * @key headful * @bug 6842011 8158758 * @summary Test if StackOverflowError occurs during printing landscape with * scale and transform. diff --git a/test/javax/swing/AbstractButton/6711682/bug6711682.java b/test/javax/swing/AbstractButton/6711682/bug6711682.java --- a/test/javax/swing/AbstractButton/6711682/bug6711682.java +++ b/test/javax/swing/AbstractButton/6711682/bug6711682.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 6711682 - @summary JCheckBox in JTable: checkbox doesn't alaways respond to the first mouse click - @author Alexander Potochkin - @run main bug6711682 -*/ +/* + * @test + * @key headful + * @bug 6711682 + * @summary JCheckBox in JTable: checkbox doesn't alaways respond to the first mouse click + * @author Alexander Potochkin + * @run main bug6711682 + */ import javax.swing.*; import javax.swing.event.CellEditorListener; diff --git a/test/javax/swing/Action/8133039/bug8133039.java b/test/javax/swing/Action/8133039/bug8133039.java --- a/test/javax/swing/Action/8133039/bug8133039.java +++ b/test/javax/swing/Action/8133039/bug8133039.java @@ -35,6 +35,7 @@ /** * @test + * @key headful * @bug 8133039 * @summary Provide public API to sun.swing.UIAction#isEnabled(Object) * @modules java.desktop/sun.swing diff --git a/test/javax/swing/AncestorNotifier/7193219/bug7193219.java b/test/javax/swing/AncestorNotifier/7193219/bug7193219.java --- a/test/javax/swing/AncestorNotifier/7193219/bug7193219.java +++ b/test/javax/swing/AncestorNotifier/7193219/bug7193219.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 7193219 - @summary JComboBox serialization fails in JDK 1.7 - @author Anton Litvinov -*/ +/* + * @test + * @key headful + * @bug 7193219 + * @summary JComboBox serialization fails in JDK 1.7 + * @author Anton Litvinov + */ import java.io.*; diff --git a/test/javax/swing/GroupLayout/8013566/bug8013566.java b/test/javax/swing/GroupLayout/8013566/bug8013566.java --- a/test/javax/swing/GroupLayout/8013566/bug8013566.java +++ b/test/javax/swing/GroupLayout/8013566/bug8013566.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 8013566 - @summary Failure of GroupLayout in combination of addPreferredGap and addGroup's - last row - @author Semyon Sadetsky -*/ +/* + * @test + * @key headful + * @bug 8013566 + * @summary Failure of GroupLayout in combination of addPreferredGap and addGroup's + * last row + * @author Semyon Sadetsky + */ import javax.swing.*; diff --git a/test/javax/swing/GroupLayout/8079640/bug8079640.java b/test/javax/swing/GroupLayout/8079640/bug8079640.java --- a/test/javax/swing/GroupLayout/8079640/bug8079640.java +++ b/test/javax/swing/GroupLayout/8079640/bug8079640.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 8079640 - @summary GroupLayout incorrect layout with large JTextArea - @author Semyon Sadetsky - */ +/* + * @test + * @key headful + * @bug 8079640 + * @summary GroupLayout incorrect layout with large JTextArea + * @author Semyon Sadetsky + */ import javax.swing.*; diff --git a/test/javax/swing/InputVerifier/VerifyTarget/VerifyTargetTest.java b/test/javax/swing/InputVerifier/VerifyTarget/VerifyTargetTest.java --- a/test/javax/swing/InputVerifier/VerifyTarget/VerifyTargetTest.java +++ b/test/javax/swing/InputVerifier/VerifyTarget/VerifyTargetTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8154431 @summary Allow source and target based validation for the focus transfer between two JComponents. @@ -90,4 +91,4 @@ public void focusLost(FocusEvent e) { success = false; } -} \ No newline at end of file +} diff --git a/test/javax/swing/JButton/4368790/bug4368790.java b/test/javax/swing/JButton/4368790/bug4368790.java --- a/test/javax/swing/JButton/4368790/bug4368790.java +++ b/test/javax/swing/JButton/4368790/bug4368790.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 4368790 - @summary JButton stays pressed when focus stolen - @author Alexander Potochkin - @run main bug4368790 -*/ +/* + * @test + * @key headful + * @bug 4368790 + * @summary JButton stays pressed when focus stolen + * @author Alexander Potochkin + * @run main bug4368790 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JButton/JButtonPaintNPE/JButtonPaintNPE.java b/test/javax/swing/JButton/JButtonPaintNPE/JButtonPaintNPE.java --- a/test/javax/swing/JButton/JButtonPaintNPE/JButtonPaintNPE.java +++ b/test/javax/swing/JButton/JButtonPaintNPE/JButtonPaintNPE.java @@ -33,6 +33,7 @@ /** * @test + * @key headful * @bug 8009919 * @author Sergey Bylokhov * @library ../../../../lib/testlibrary/ diff --git a/test/javax/swing/JButton/PressedButtonRightClickTest.java b/test/javax/swing/JButton/PressedButtonRightClickTest.java --- a/test/javax/swing/JButton/PressedButtonRightClickTest.java +++ b/test/javax/swing/JButton/PressedButtonRightClickTest.java @@ -33,6 +33,7 @@ /* * @test + * @key headful * @bug 8049069 * @summary Tests whether right mouse click releases a pressed JButton */ diff --git a/test/javax/swing/JColorChooser/Test6541987.java b/test/javax/swing/JColorChooser/Test6541987.java --- a/test/javax/swing/JColorChooser/Test6541987.java +++ b/test/javax/swing/JColorChooser/Test6541987.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6541987 * @summary Tests closing by ESC * @author Sergey Malenkov diff --git a/test/javax/swing/JColorChooser/Test6559154.java b/test/javax/swing/JColorChooser/Test6559154.java --- a/test/javax/swing/JColorChooser/Test6559154.java +++ b/test/javax/swing/JColorChooser/Test6559154.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6559154 * @summary Tests EDT hanging * @author Sergey Malenkov diff --git a/test/javax/swing/JColorChooser/Test6827032.java b/test/javax/swing/JColorChooser/Test6827032.java --- a/test/javax/swing/JColorChooser/Test6827032.java +++ b/test/javax/swing/JColorChooser/Test6827032.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6827032 * @summary Color chooser with drag enabled shouldn't throw NPE * @author Peter Zhelezniakov diff --git a/test/javax/swing/JColorChooser/Test7194184.java b/test/javax/swing/JColorChooser/Test7194184.java --- a/test/javax/swing/JColorChooser/Test7194184.java +++ b/test/javax/swing/JColorChooser/Test7194184.java @@ -27,6 +27,7 @@ /* * @test + * @key headful * @bug 7194184 * @summary Tests JColorChooser Swatch keyboard accessibility. * @author Sean Chou diff --git a/test/javax/swing/JColorChooser/Test8051548.java b/test/javax/swing/JColorChooser/Test8051548.java --- a/test/javax/swing/JColorChooser/Test8051548.java +++ b/test/javax/swing/JColorChooser/Test8051548.java @@ -37,6 +37,7 @@ /* * @test + * @key headful * @bug 8051548 * @summary JColorChooser should have a way to disable transparency controls * @author Alexandr Scherbatiy diff --git a/test/javax/swing/JComboBox/4199622/bug4199622.java b/test/javax/swing/JComboBox/4199622/bug4199622.java --- a/test/javax/swing/JComboBox/4199622/bug4199622.java +++ b/test/javax/swing/JComboBox/4199622/bug4199622.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 4199622 @summary RFE: JComboBox shouldn't send ActionEvents for keyboard navigation @author Vladislav Karnaukhov @@ -29,7 +31,7 @@ @modules java.desktop/com.sun.java.swing.plaf.windows @build jdk.testlibrary.OSInfo @run main bug4199622 -*/ + */ import com.sun.java.swing.plaf.windows.WindowsLookAndFeel; import jdk.testlibrary.OSInfo; diff --git a/test/javax/swing/JComboBox/4515752/DefaultButtonTest.java b/test/javax/swing/JComboBox/4515752/DefaultButtonTest.java --- a/test/javax/swing/JComboBox/4515752/DefaultButtonTest.java +++ b/test/javax/swing/JComboBox/4515752/DefaultButtonTest.java @@ -27,6 +27,7 @@ /** * @test + * @key headful * @bug 4515752 4337071 * @author Mark Davidson * @summary Tests the invocation of the default button within the JComboBox. diff --git a/test/javax/swing/JComboBox/4523758/bug4523758.java b/test/javax/swing/JComboBox/4523758/bug4523758.java --- a/test/javax/swing/JComboBox/4523758/bug4523758.java +++ b/test/javax/swing/JComboBox/4523758/bug4523758.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 4523758 * @summary Directly check that torn-off combo works * @library ../../../../lib/testlibrary diff --git a/test/javax/swing/JComboBox/4743225/bug4743225.java b/test/javax/swing/JComboBox/4743225/bug4743225.java --- a/test/javax/swing/JComboBox/4743225/bug4743225.java +++ b/test/javax/swing/JComboBox/4743225/bug4743225.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 4743225 * @summary Size of JComboBox list is wrong when list is populated via PopupMenuListener * @author Alexander Potochkin diff --git a/test/javax/swing/JComboBox/6236162/bug6236162.java b/test/javax/swing/JComboBox/6236162/bug6236162.java --- a/test/javax/swing/JComboBox/6236162/bug6236162.java +++ b/test/javax/swing/JComboBox/6236162/bug6236162.java @@ -20,16 +20,19 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 6236162 - @summary Checks that there is no an inconsistence in combo box - behavior when user points an item in combo popup - by mouse and then uses UP/DOWN keys. - @library ../../regtesthelpers - @build Util - @author Mikhail Lapshin - @run main bug6236162 -*/ + +/* + * @test + * @key headful + * @bug 6236162 + * @summary Checks that there is no an inconsistence in combo box + * behavior when user points an item in combo popup + * by mouse and then uses UP/DOWN keys. + * @library ../../regtesthelpers + * @build Util + * @author Mikhail Lapshin + * @run main bug6236162 + */ import javax.swing.*; import javax.swing.plaf.basic.*; diff --git a/test/javax/swing/JComboBox/6406264/bug6406264.java b/test/javax/swing/JComboBox/6406264/bug6406264.java --- a/test/javax/swing/JComboBox/6406264/bug6406264.java +++ b/test/javax/swing/JComboBox/6406264/bug6406264.java @@ -23,11 +23,13 @@ * questions. */ -/* @test - @bug 6406264 - @summary Tests that JComboBox's focusable popup can be shown. - @author Mikhail Lapshin - @run main bug6406264 +/* + * @test + * @key headful + * @bug 6406264 + * @summary Tests that JComboBox's focusable popup can be shown. + * @author Mikhail Lapshin + * @run main bug6406264 */ import javax.swing.JComboBox; diff --git a/test/javax/swing/JComboBox/6559152/bug6559152.java b/test/javax/swing/JComboBox/6559152/bug6559152.java --- a/test/javax/swing/JComboBox/6559152/bug6559152.java +++ b/test/javax/swing/JComboBox/6559152/bug6559152.java @@ -20,15 +20,18 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 6559152 - @summary Checks that you can select an item in JComboBox with keyboard - when it is a JTable cell editor. - @author Mikhail Lapshin - @library ../../../../lib/testlibrary - @build ExtendedRobot - @run main bug6559152 -*/ + +/* + * @test + * @key headful + * @bug 6559152 + * @summary Checks that you can select an item in JComboBox with keyboard + * when it is a JTable cell editor. + * @author Mikhail Lapshin + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main bug6559152 + */ import javax.swing.*; import javax.swing.table.DefaultTableModel; diff --git a/test/javax/swing/JComboBox/6607130/bug6607130.java b/test/javax/swing/JComboBox/6607130/bug6607130.java --- a/test/javax/swing/JComboBox/6607130/bug6607130.java +++ b/test/javax/swing/JComboBox/6607130/bug6607130.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6607130 * @summary Checks that JComboBox cell editor is hidden if the same * item is selected with keyboard. diff --git a/test/javax/swing/JComboBox/7195179/Test7195179.java b/test/javax/swing/JComboBox/7195179/Test7195179.java --- a/test/javax/swing/JComboBox/7195179/Test7195179.java +++ b/test/javax/swing/JComboBox/7195179/Test7195179.java @@ -35,6 +35,7 @@ /* * @test + * @key headful * @bug 7195179 * @summary Tests that combobox works with generified renderers * @author Sergey Malenkov diff --git a/test/javax/swing/JComboBox/8015300/Test8015300.java b/test/javax/swing/JComboBox/8015300/Test8015300.java --- a/test/javax/swing/JComboBox/8015300/Test8015300.java +++ b/test/javax/swing/JComboBox/8015300/Test8015300.java @@ -37,8 +37,9 @@ /* * @test + * @key headful * @bug 8015300 - * @summary Tests that editable combobox select all text + * @summary Tests that editable combobox selects all text. * @author Sergey Malenkov * @library ../../../../lib/testlibrary/ * @modules java.desktop/com.sun.java.swing.plaf.windows diff --git a/test/javax/swing/JComboBox/8032878/bug8032878.java b/test/javax/swing/JComboBox/8032878/bug8032878.java --- a/test/javax/swing/JComboBox/8032878/bug8032878.java +++ b/test/javax/swing/JComboBox/8032878/bug8032878.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8032878 8078855 * @summary Checks that JComboBox as JTable cell editor processes key events * even where setSurrendersFocusOnKeystroke flag in JTable is false and diff --git a/test/javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java b/test/javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java --- a/test/javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java +++ b/test/javax/swing/JComboBox/8033069/bug8033069NoScrollBar.java @@ -35,7 +35,9 @@ import javax.swing.UIManager.LookAndFeelInfo; import javax.swing.UnsupportedLookAndFeelException; -/* @test +/* + * @test + * @key headful * @bug 8033069 * @summary Checks that JComboBox popup does not close when mouse wheel is * rotated over combo box and over its popup. The case where popup diff --git a/test/javax/swing/JComboBox/8033069/bug8033069ScrollBar.java b/test/javax/swing/JComboBox/8033069/bug8033069ScrollBar.java --- a/test/javax/swing/JComboBox/8033069/bug8033069ScrollBar.java +++ b/test/javax/swing/JComboBox/8033069/bug8033069ScrollBar.java @@ -23,7 +23,9 @@ import java.awt.AWTException; -/* @test +/* + * @test + * @key headful * @bug 8033069 * @summary Checks that JComboBox popup does not close when mouse wheel is * rotated over combo box and over its popup. The case where diff --git a/test/javax/swing/JComboBox/8057893/bug8057893.java b/test/javax/swing/JComboBox/8057893/bug8057893.java --- a/test/javax/swing/JComboBox/8057893/bug8057893.java +++ b/test/javax/swing/JComboBox/8057893/bug8057893.java @@ -33,6 +33,7 @@ /** * @test + * @key headful * @bug 8057893 * @author Alexander Scherbatiy * @summary JComboBox actionListener never receives "comboBoxEdited" diff --git a/test/javax/swing/JComboBox/8072767/bug8072767.java b/test/javax/swing/JComboBox/8072767/bug8072767.java --- a/test/javax/swing/JComboBox/8072767/bug8072767.java +++ b/test/javax/swing/JComboBox/8072767/bug8072767.java @@ -37,6 +37,7 @@ /** * @test + * @key headful * @bug 8072767 * @author Alexander Scherbatiy * @summary DefaultCellEditor for comboBox creates ActionEvent with wrong source diff --git a/test/javax/swing/JComboBox/8136998/bug8136998.java b/test/javax/swing/JComboBox/8136998/bug8136998.java --- a/test/javax/swing/JComboBox/8136998/bug8136998.java +++ b/test/javax/swing/JComboBox/8136998/bug8136998.java @@ -38,7 +38,9 @@ import javax.swing.UnsupportedLookAndFeelException; import javax.swing.WindowConstants; -/* @test +/* + * @test + * @key headful * @bug 8136998 * @summary Checks that JComboBox does not prevent mouse-wheel scrolling JScrollPane. * @library ../../regtesthelpers diff --git a/test/javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java b/test/javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java --- a/test/javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java +++ b/test/javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java @@ -27,6 +27,7 @@ /* @test + @key headful @bug 8031485 8058193 @summary Combo box consuming escape and enter key events @author Petr Pchelko diff --git a/test/javax/swing/JComboBox/ShowPopupAfterHidePopupTest/ShowPopupAfterHidePopupTest.java b/test/javax/swing/JComboBox/ShowPopupAfterHidePopupTest/ShowPopupAfterHidePopupTest.java --- a/test/javax/swing/JComboBox/ShowPopupAfterHidePopupTest/ShowPopupAfterHidePopupTest.java +++ b/test/javax/swing/JComboBox/ShowPopupAfterHidePopupTest/ShowPopupAfterHidePopupTest.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 8006417 - @summary JComboBox.showPopup(), hidePopup() fails in JRE 1.7 on OS X - @author Anton Litvinov - @run main ShowPopupAfterHidePopupTest -*/ +/* + * @test + * @key headful + * @bug 8006417 + * @summary JComboBox.showPopup(), hidePopup() fails in JRE 1.7 on OS X + * @author Anton Litvinov + * @run main ShowPopupAfterHidePopupTest + */ import java.awt.*; diff --git a/test/javax/swing/JComponent/6989617/bug6989617.java b/test/javax/swing/JComponent/6989617/bug6989617.java --- a/test/javax/swing/JComponent/6989617/bug6989617.java +++ b/test/javax/swing/JComponent/6989617/bug6989617.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 6989617 - @summary Enable JComponent to control repaintings of its children - @author Alexander Potochkin - @run main bug6989617 -*/ +/* + * @test + * @key headful + * @bug 6989617 + * @summary Enable JComponent to control repaintings of its children + * @author Alexander Potochkin + * @run main bug6989617 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JComponent/7154030/bug7154030.java b/test/javax/swing/JComponent/7154030/bug7154030.java --- a/test/javax/swing/JComponent/7154030/bug7154030.java +++ b/test/javax/swing/JComponent/7154030/bug7154030.java @@ -40,7 +40,9 @@ import java.awt.Toolkit; import java.awt.image.BufferedImage; -/* @test 1.1 2012/04/12 +/* + * @test + * @key headful * @bug 7154030 * @summary Swing components fail to hide after calling hide() * @author Jonathan Lu diff --git a/test/javax/swing/JDialog/Transparency/TransparencyTest.java b/test/javax/swing/JDialog/Transparency/TransparencyTest.java --- a/test/javax/swing/JDialog/Transparency/TransparencyTest.java +++ b/test/javax/swing/JDialog/Transparency/TransparencyTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8062946 @summary Verify Transparency upon iconify/deiconify sequence @run main TransparencyTest diff --git a/test/javax/swing/JDialog/WrongBackgroundColor/WrongBackgroundColor.java b/test/javax/swing/JDialog/WrongBackgroundColor/WrongBackgroundColor.java --- a/test/javax/swing/JDialog/WrongBackgroundColor/WrongBackgroundColor.java +++ b/test/javax/swing/JDialog/WrongBackgroundColor/WrongBackgroundColor.java @@ -33,6 +33,7 @@ /** * @test + * @key headful * @bug 8033786 * @summary JDialog should update background color of the native peer. * @author Sergey Bylokhov diff --git a/test/javax/swing/JEditorPane/4492274/bug4492274.java b/test/javax/swing/JEditorPane/4492274/bug4492274.java --- a/test/javax/swing/JEditorPane/4492274/bug4492274.java +++ b/test/javax/swing/JEditorPane/4492274/bug4492274.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 4492274 * @summary Tests if JEditorPane.getPage() correctly returns anchor reference. * @author Denis Sharypov diff --git a/test/javax/swing/JEditorPane/6917744/bug6917744.java b/test/javax/swing/JEditorPane/6917744/bug6917744.java --- a/test/javax/swing/JEditorPane/6917744/bug6917744.java +++ b/test/javax/swing/JEditorPane/6917744/bug6917744.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6917744 * @summary JScrollPane Page Up/Down keys do not handle correctly html tables with different cells contents * @author Pavel Porvatov diff --git a/test/javax/swing/JEditorPane/8146319/JEditorPaneTest.java b/test/javax/swing/JEditorPane/8146319/JEditorPaneTest.java --- a/test/javax/swing/JEditorPane/8146319/JEditorPaneTest.java +++ b/test/javax/swing/JEditorPane/8146319/JEditorPaneTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8146319 * @summary JEditorPane function setPage leaves a file lock * @run main JEditorPaneTest diff --git a/test/javax/swing/JFileChooser/4524490/bug4524490.java b/test/javax/swing/JFileChooser/4524490/bug4524490.java --- a/test/javax/swing/JFileChooser/4524490/bug4524490.java +++ b/test/javax/swing/JFileChooser/4524490/bug4524490.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4524490 * @summary Tests if in JFileChooser, ALT+L does not bring focus to 'Files' selection list in Motif LAF * @author Konstantin Eremin diff --git a/test/javax/swing/JFileChooser/6396844/TwentyThousandTest.java b/test/javax/swing/JFileChooser/6396844/TwentyThousandTest.java --- a/test/javax/swing/JFileChooser/6396844/TwentyThousandTest.java +++ b/test/javax/swing/JFileChooser/6396844/TwentyThousandTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6396844 * @summary Tests memory leak for 20000 files * @author Sergey Malenkov diff --git a/test/javax/swing/JFileChooser/7199708/bug7199708.java b/test/javax/swing/JFileChooser/7199708/bug7199708.java --- a/test/javax/swing/JFileChooser/7199708/bug7199708.java +++ b/test/javax/swing/JFileChooser/7199708/bug7199708.java @@ -40,6 +40,7 @@ /** * @test + * @key headful * @bug 7199708 * @author Alexander Scherbatiy * @summary FileChooser crashs when opening large folder diff --git a/test/javax/swing/JFileChooser/8002077/bug8002077.java b/test/javax/swing/JFileChooser/8002077/bug8002077.java --- a/test/javax/swing/JFileChooser/8002077/bug8002077.java +++ b/test/javax/swing/JFileChooser/8002077/bug8002077.java @@ -30,6 +30,7 @@ /** * @test + * @key headful * @bug 8002077 * @author Alexander Scherbatiy * @summary Possible mnemonic issue on JFileChooser Save button on nimbus L&F diff --git a/test/javax/swing/JFileChooser/8016665/JFileChooserOrientation.java b/test/javax/swing/JFileChooser/8016665/JFileChooserOrientation.java --- a/test/javax/swing/JFileChooser/8016665/JFileChooserOrientation.java +++ b/test/javax/swing/JFileChooser/8016665/JFileChooserOrientation.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8016665 * @summary verifies different behaviour of JFileChooser changing orientation * @run main JFileChooserOrientation diff --git a/test/javax/swing/JFileChooser/8021253/bug8021253.java b/test/javax/swing/JFileChooser/8021253/bug8021253.java --- a/test/javax/swing/JFileChooser/8021253/bug8021253.java +++ b/test/javax/swing/JFileChooser/8021253/bug8021253.java @@ -35,6 +35,7 @@ /** * @test + * @key headful * @bug 8021253 * @author Alexander Scherbatiy * @summary JFileChooser does not react on pressing enter since java 7 diff --git a/test/javax/swing/JFileChooser/8041694/bug8041694.java b/test/javax/swing/JFileChooser/8041694/bug8041694.java --- a/test/javax/swing/JFileChooser/8041694/bug8041694.java +++ b/test/javax/swing/JFileChooser/8041694/bug8041694.java @@ -21,13 +21,15 @@ * questions. */ -/* @test - @bug 8041694 - @summary JFileChooser removes trailing spaces in the selected directory name - @author Anton Litvinov - @library ../../../../lib/testlibrary - @build jdk.testlibrary.OSInfo - @run main bug8041694 +/* + * @test + * @key headful + * @bug 8041694 + * @summary JFileChooser removes trailing spaces in the selected directory name + * @author Anton Litvinov + * @library ../../../../lib/testlibrary + * @build jdk.testlibrary.OSInfo + * @run main bug8041694 */ import java.awt.AWTException; diff --git a/test/javax/swing/JFileChooser/DeserializedJFileChooser/DeserializedJFileChooserTest.java b/test/javax/swing/JFileChooser/DeserializedJFileChooser/DeserializedJFileChooserTest.java --- a/test/javax/swing/JFileChooser/DeserializedJFileChooser/DeserializedJFileChooserTest.java +++ b/test/javax/swing/JFileChooser/DeserializedJFileChooser/DeserializedJFileChooserTest.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @bug 8146301 * @summary Enter key does not work in a deserialized JFileChooser. * @run main DeserializedJFileChooserTest diff --git a/test/javax/swing/JFrame/HangNonVolatileBuffer/HangNonVolatileBuffer.java b/test/javax/swing/JFrame/HangNonVolatileBuffer/HangNonVolatileBuffer.java --- a/test/javax/swing/JFrame/HangNonVolatileBuffer/HangNonVolatileBuffer.java +++ b/test/javax/swing/JFrame/HangNonVolatileBuffer/HangNonVolatileBuffer.java @@ -28,6 +28,7 @@ /** * @test + * @key headful * @bug 8029455 * @summary Swing should not hang if non-volatile image is used as a backbuffer. * @run main/othervm -Dswing.volatileImageBufferEnabled=false HangNonVolatileBuffer diff --git a/test/javax/swing/JInternalFrame/4769772/TestJInternalFrameIconify.java b/test/javax/swing/JInternalFrame/4769772/TestJInternalFrameIconify.java --- a/test/javax/swing/JInternalFrame/4769772/TestJInternalFrameIconify.java +++ b/test/javax/swing/JInternalFrame/4769772/TestJInternalFrameIconify.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4769772 * @summary JInternalFrame.setIcon(true) before JDesktopPane.add(JIF) causes wrong state * @run main TestJInternalFrameIconify diff --git a/test/javax/swing/JInternalFrame/5066752/bug5066752.java b/test/javax/swing/JInternalFrame/5066752/bug5066752.java --- a/test/javax/swing/JInternalFrame/5066752/bug5066752.java +++ b/test/javax/swing/JInternalFrame/5066752/bug5066752.java @@ -22,6 +22,7 @@ */ /* @test + @key headful @bug 5066752 @summary Transparent JDesktopPane impossible because isOpaque() returns true @author mb50250: area=JDesktopPane diff --git a/test/javax/swing/JInternalFrame/6647340/bug6647340.java b/test/javax/swing/JInternalFrame/6647340/bug6647340.java --- a/test/javax/swing/JInternalFrame/6647340/bug6647340.java +++ b/test/javax/swing/JInternalFrame/6647340/bug6647340.java @@ -22,6 +22,7 @@ */ /* @test + * @key headful * @bug 6647340 * @summary Checks that iconified internal frame follows * the main frame borders properly. diff --git a/test/javax/swing/JInternalFrame/6725409/bug6725409.java b/test/javax/swing/JInternalFrame/6725409/bug6725409.java --- a/test/javax/swing/JInternalFrame/6725409/bug6725409.java +++ b/test/javax/swing/JInternalFrame/6725409/bug6725409.java @@ -22,6 +22,7 @@ */ /* @test + * @key headful * @bug 6725409 * @summary Checks that JInternalFrame's system menu * can be localized during run-time diff --git a/test/javax/swing/JInternalFrame/8020708/bug8020708.java b/test/javax/swing/JInternalFrame/8020708/bug8020708.java --- a/test/javax/swing/JInternalFrame/8020708/bug8020708.java +++ b/test/javax/swing/JInternalFrame/8020708/bug8020708.java @@ -35,6 +35,7 @@ /** * @test + * @key headful * @bug 8020708 8032568 * @author Alexander Scherbatiy * @summary NLS: mnemonics missing in SwingSet2/JInternalFrame demo diff --git a/test/javax/swing/JInternalFrame/8069348/bug8069348.java b/test/javax/swing/JInternalFrame/8069348/bug8069348.java --- a/test/javax/swing/JInternalFrame/8069348/bug8069348.java +++ b/test/javax/swing/JInternalFrame/8069348/bug8069348.java @@ -36,6 +36,7 @@ /** * @test + * @key headful * @bug 8069348 * @summary SunGraphics2D.copyArea() does not properly work for scaled graphics * @author Alexandr Scherbatiy diff --git a/test/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java b/test/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java --- a/test/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java +++ b/test/javax/swing/JInternalFrame/8145896/TestJInternalFrameMaximize.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8145896 * @summary JInternalFrame setMaximum before adding to desktop throws null pointer exception * @library ../../regtesthelpers diff --git a/test/javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java b/test/javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java --- a/test/javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java +++ b/test/javax/swing/JInternalFrame/8146321/JInternalFrameIconTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8146321 8151282 * @summary verifies JInternalFrame Icon and ImageIcon * @library ../../regtesthelpers diff --git a/test/javax/swing/JInternalFrame/InternalFrameIsNotCollectedTest.java b/test/javax/swing/JInternalFrame/InternalFrameIsNotCollectedTest.java --- a/test/javax/swing/JInternalFrame/InternalFrameIsNotCollectedTest.java +++ b/test/javax/swing/JInternalFrame/InternalFrameIsNotCollectedTest.java @@ -21,11 +21,13 @@ * questions. */ - /* @test - @bug 8012004 - @summary JINTERNALFRAME NOT BEING FINALIZED AFTER CLOSING - @author mcherkas - @run main InternalFrameIsNotCollectedTest +/* + * @test + * @key headful + * @bug 8012004 + * @summary JINTERNALFRAME NOT BEING FINALIZED AFTER CLOSING + * @author mcherkas + * @run main InternalFrameIsNotCollectedTest */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JInternalFrame/NormalBoundsTest.java b/test/javax/swing/JInternalFrame/NormalBoundsTest.java --- a/test/javax/swing/JInternalFrame/NormalBoundsTest.java +++ b/test/javax/swing/JInternalFrame/NormalBoundsTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 7126823 @summary Verify NormalBounds upon iconify/deiconify sequence @run main NormalBoundsTest diff --git a/test/javax/swing/JInternalFrame/Test6505027.java b/test/javax/swing/JInternalFrame/Test6505027.java --- a/test/javax/swing/JInternalFrame/Test6505027.java +++ b/test/javax/swing/JInternalFrame/Test6505027.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6505027 * @summary Tests focus problem inside internal frame * @author Sergey Malenkov diff --git a/test/javax/swing/JInternalFrame/Test6802868.java b/test/javax/swing/JInternalFrame/Test6802868.java --- a/test/javax/swing/JInternalFrame/Test6802868.java +++ b/test/javax/swing/JInternalFrame/Test6802868.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6802868 * @summary JInternalFrame is not maximized when maximized parent frame * @author Alexander Potochkin diff --git a/test/javax/swing/JLabel/6596966/bug6596966.java b/test/javax/swing/JLabel/6596966/bug6596966.java --- a/test/javax/swing/JLabel/6596966/bug6596966.java +++ b/test/javax/swing/JLabel/6596966/bug6596966.java @@ -21,15 +21,17 @@ * questions. */ -/* @test - @bug 6596966 - @summary Some JFileChooser mnemonics do not work with sticky keys - @library ../../regtesthelpers - @library ../../../../lib/testlibrary - @build Util jdk.testlibrary.OSInfo - @run main bug6596966 - @author Pavel Porvatov -*/ +/* + * @test + * @key headful + * @bug 6596966 + * @summary Some JFileChooser mnemonics do not work with sticky keys + * @library ../../regtesthelpers + * @library ../../../../lib/testlibrary + * @build Util jdk.testlibrary.OSInfo + * @run main bug6596966 + * @author Pavel Porvatov + */ import java.awt.*; import java.awt.event.KeyEvent; diff --git a/test/javax/swing/JLabel/7004134/bug7004134.java b/test/javax/swing/JLabel/7004134/bug7004134.java --- a/test/javax/swing/JLabel/7004134/bug7004134.java +++ b/test/javax/swing/JLabel/7004134/bug7004134.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 7004134 - @summary JLabel containing a ToolTipText does no longer show ToolTip after browser refresh - @author Pavel Porvatov - @modules java.desktop/sun.awt -*/ +/* + * @test + * @key headful + * @bug 7004134 + * @summary JLabel containing a ToolTipText does no longer show ToolTip after browser refresh + * @author Pavel Porvatov + * @modules java.desktop/sun.awt + */ import sun.awt.SunToolkit; diff --git a/test/javax/swing/JLayer/6824395/bug6824395.java b/test/javax/swing/JLayer/6824395/bug6824395.java --- a/test/javax/swing/JLayer/6824395/bug6824395.java +++ b/test/javax/swing/JLayer/6824395/bug6824395.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @summary Checks that JLayer inside JViewport works is correctly laid out * @author Alexander Potochkin * @library ../../../../lib/testlibrary/ diff --git a/test/javax/swing/JLayer/6872503/bug6872503.java b/test/javax/swing/JLayer/6872503/bug6872503.java --- a/test/javax/swing/JLayer/6872503/bug6872503.java +++ b/test/javax/swing/JLayer/6872503/bug6872503.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6872503 * @summary Checks that JLayer correctly works with its AWTEventListener * @author Alexander Potochkin diff --git a/test/javax/swing/JList/6462008/bug6462008.java b/test/javax/swing/JList/6462008/bug6462008.java --- a/test/javax/swing/JList/6462008/bug6462008.java +++ b/test/javax/swing/JList/6462008/bug6462008.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6462008 * @summary Tests that mouse/keyboard work properly on JList with lead < 0 or > list.getModel().getSize() * @author Shannon Hickey diff --git a/test/javax/swing/JList/6510999/bug6510999.java b/test/javax/swing/JList/6510999/bug6510999.java --- a/test/javax/swing/JList/6510999/bug6510999.java +++ b/test/javax/swing/JList/6510999/bug6510999.java @@ -20,12 +20,14 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 6510999 - @summary Selection in a JList with both scrollbars visible jumps on arrowkey-down - @author Alexander Potochkin - @run main bug6510999 -*/ +/* + * @test + * @key headful + * @bug 6510999 + * @summary Selection in a JList with both scrollbars visible jumps on arrowkey-down + * @author Alexander Potochkin + * @run main bug6510999 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JMenu/4213634/bug4213634.java b/test/javax/swing/JMenu/4213634/bug4213634.java --- a/test/javax/swing/JMenu/4213634/bug4213634.java +++ b/test/javax/swing/JMenu/4213634/bug4213634.java @@ -35,7 +35,9 @@ import javax.swing.JTextArea; import javax.swing.SwingUtilities; -/* @test +/* + * @test + * @key headful * @bug 4213634 8017187 * @author Scott Violet * @library ../../regtesthelpers diff --git a/test/javax/swing/JMenu/4417601/bug4417601.java b/test/javax/swing/JMenu/4417601/bug4417601.java --- a/test/javax/swing/JMenu/4417601/bug4417601.java +++ b/test/javax/swing/JMenu/4417601/bug4417601.java @@ -20,14 +20,17 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 4417601 - @summary JMenus with no items paint a tiny menu. - @author Alexander Potochkin - @library ../../../../lib/testlibrary - @build ExtendedRobot - @run main bug4417601 -*/ + +/* + * @test + * @key headful + * @bug 4417601 + * @summary JMenus with no items paint a tiny menu. + * @author Alexander Potochkin + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main bug4417601 + */ import javax.swing.*; import java.awt.event.*; diff --git a/test/javax/swing/JMenu/4515762/bug4515762.java b/test/javax/swing/JMenu/4515762/bug4515762.java --- a/test/javax/swing/JMenu/4515762/bug4515762.java +++ b/test/javax/swing/JMenu/4515762/bug4515762.java @@ -27,6 +27,7 @@ /** * @test + * @key headful * @bug 4515762 * @author Mark Davidson * @summary Tests the ability to support duplicate mnemonics diff --git a/test/javax/swing/JMenu/4692443/bug4692443.java b/test/javax/swing/JMenu/4692443/bug4692443.java --- a/test/javax/swing/JMenu/4692443/bug4692443.java +++ b/test/javax/swing/JMenu/4692443/bug4692443.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @library ../../regtesthelpers * @build Util * @bug 4692443 7105030 diff --git a/test/javax/swing/JMenu/6359669/bug6359669.java b/test/javax/swing/JMenu/6359669/bug6359669.java --- a/test/javax/swing/JMenu/6359669/bug6359669.java +++ b/test/javax/swing/JMenu/6359669/bug6359669.java @@ -20,14 +20,16 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 6359669 - @summary REGRESSION: Submenu does not work if populated in PopupMenuListener.popupMenuWillBecomeVisible - @author Alexander Potochkin - @library ../../../../lib/testlibrary - @build ExtendedRobot - @run main bug6359669 -*/ +/* + * @test + * @key headful + * @bug 6359669 + * @summary REGRESSION: Submenu does not work if populated in PopupMenuListener.popupMenuWillBecomeVisible + * @author Alexander Potochkin + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main bug6359669 + */ import javax.swing.*; import javax.swing.event.PopupMenuListener; diff --git a/test/javax/swing/JMenu/6470128/bug6470128.java b/test/javax/swing/JMenu/6470128/bug6470128.java --- a/test/javax/swing/JMenu/6470128/bug6470128.java +++ b/test/javax/swing/JMenu/6470128/bug6470128.java @@ -20,14 +20,18 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 6470128 - @summary Escape Key causes JMenu Selection to Disappear - @author Alexander Potochkin - @library ../../../../lib/testlibrary - @build jdk.testlibrary.OSInfo - @run main bug6470128 -*/ + +/* + * @test + * @key headful + * @bug 6470128 + * @summary Escape Key causes JMenu Selection to Disappear + * @author Alexander Potochkin + * @library ../../../../lib/testlibrary + * @build jdk.testlibrary.OSInfo + * @run main bug6470128 + */ + import javax.swing.*; import java.awt.*; import java.awt.event.KeyEvent; diff --git a/test/javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java b/test/javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java --- a/test/javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java +++ b/test/javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java @@ -22,12 +22,13 @@ */ /* -@test -@bug 8072900 -@summary Mouse events are captured by the wrong menu in OS X -@author Anton Nashatyrev -@run main WrongSelectionOnMouseOver -*/ + * @test + * @key headful + * @bug 8072900 + * @summary Mouse events are captured by the wrong menu in OS X + * @author Anton Nashatyrev + * @run main WrongSelectionOnMouseOver + */ import javax.swing.*; import javax.swing.event.MenuEvent; diff --git a/test/javax/swing/JMenuBar/4750590/bug4750590.java b/test/javax/swing/JMenuBar/4750590/bug4750590.java --- a/test/javax/swing/JMenuBar/4750590/bug4750590.java +++ b/test/javax/swing/JMenuBar/4750590/bug4750590.java @@ -21,13 +21,15 @@ * questions. */ -/* @test - @library ../../regtesthelpers - @build Util - @bug 4750590 8015597 - @summary SwingSet: Cannot change Themes using menu accelerators - @author Alexander Zuev - @run main bug4750590 +/* + * @test + * @key headful + * @library ../../regtesthelpers + * @build Util + * @bug 4750590 8015597 + * @summary SwingSet: Cannot change Themes using menu accelerators + * @author Alexander Zuev + * @run main bug4750590 */ import javax.swing.*; diff --git a/test/javax/swing/JMenuBar/MisplacedBorder/MisplacedBorder.java b/test/javax/swing/JMenuBar/MisplacedBorder/MisplacedBorder.java --- a/test/javax/swing/JMenuBar/MisplacedBorder/MisplacedBorder.java +++ b/test/javax/swing/JMenuBar/MisplacedBorder/MisplacedBorder.java @@ -40,6 +40,7 @@ /** * @test + * @key headful * @bug 8073795 * @summary JMenuBar has incorrect border when the window is on retina display. * @author Sergey Bylokhov diff --git a/test/javax/swing/JMenuItem/4171437/bug4171437.java b/test/javax/swing/JMenuItem/4171437/bug4171437.java --- a/test/javax/swing/JMenuItem/4171437/bug4171437.java +++ b/test/javax/swing/JMenuItem/4171437/bug4171437.java @@ -20,13 +20,17 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 4171437 - @library ../../regtesthelpers - @build Util - @author Georges Saab - @run main bug4171437 -*/ + +/* + * @test + * @key headful + * @bug 4171437 + * @library ../../regtesthelpers + * @build Util + * @author Georges Saab + * @run main bug4171437 + */ + import java.awt.*; import java.awt.event.*; import java.util.ArrayList; diff --git a/test/javax/swing/JMenuItem/4654927/bug4654927.java b/test/javax/swing/JMenuItem/4654927/bug4654927.java --- a/test/javax/swing/JMenuItem/4654927/bug4654927.java +++ b/test/javax/swing/JMenuItem/4654927/bug4654927.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4654927 * @summary Clicking on Greyed Menuitems closes the Menubar Dropdown * @author Alexander Potochkin diff --git a/test/javax/swing/JMenuItem/6209975/bug6209975.java b/test/javax/swing/JMenuItem/6209975/bug6209975.java --- a/test/javax/swing/JMenuItem/6209975/bug6209975.java +++ b/test/javax/swing/JMenuItem/6209975/bug6209975.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6209975 * @summary regression: JMenuItem icons overimposed on JMenuItem labels under Metal LAF * @author Alexander Zuev diff --git a/test/javax/swing/JMenuItem/6249972/bug6249972.java b/test/javax/swing/JMenuItem/6249972/bug6249972.java --- a/test/javax/swing/JMenuItem/6249972/bug6249972.java +++ b/test/javax/swing/JMenuItem/6249972/bug6249972.java @@ -20,13 +20,16 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 6249972 - @summary Tests that JMenuItem(String,int) handles lower-case mnemonics properly. - @library ../../../../lib/testlibrary - @build ExtendedRobot - @author Mikhail Lapshin - @run main bug6249972 + +/* + * @test + * @key headful + * @bug 6249972 + * @summary Tests that JMenuItem(String,int) handles lower-case mnemonics properly. + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @author Mikhail Lapshin + * @run main bug6249972 */ import javax.swing.*; diff --git a/test/javax/swing/JOptionPane/6428694/bug6428694.java b/test/javax/swing/JOptionPane/6428694/bug6428694.java --- a/test/javax/swing/JOptionPane/6428694/bug6428694.java +++ b/test/javax/swing/JOptionPane/6428694/bug6428694.java @@ -21,13 +21,14 @@ * questions. */ /* -@test -@bug 6428694 -@summary Checks that double click closes JOptionPane's input dialog. -@library ../../../../lib/testlibrary -@build ExtendedRobot -@author Mikhail Lapshin -@run main bug6428694 + * @test + * @key headful + * @bug 6428694 + * @summary Checks that double click closes JOptionPane's input dialog. + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @author Mikhail Lapshin + * @run main bug6428694 */ import javax.swing.JFrame; diff --git a/test/javax/swing/JOptionPane/6464022/bug6464022.java b/test/javax/swing/JOptionPane/6464022/bug6464022.java --- a/test/javax/swing/JOptionPane/6464022/bug6464022.java +++ b/test/javax/swing/JOptionPane/6464022/bug6464022.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6464022 * @summary Memory leak in JOptionPane.createDialog * @author Pavel Porvatov diff --git a/test/javax/swing/JOptionPane/7138665/bug7138665.java b/test/javax/swing/JOptionPane/7138665/bug7138665.java --- a/test/javax/swing/JOptionPane/7138665/bug7138665.java +++ b/test/javax/swing/JOptionPane/7138665/bug7138665.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 7138665 - @summary JOptionPane.getValue() unexpected change between JRE 1.6 and JRE 1.7 - @author Pavel Porvatov -*/ +/* + * @test + * @key headful + * @bug 7138665 + * @summary JOptionPane.getValue() unexpected change between JRE 1.6 and JRE 1.7 + * @author Pavel Porvatov + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JOptionPane/8139213/OptionPaneTest.java b/test/javax/swing/JOptionPane/8139213/OptionPaneTest.java --- a/test/javax/swing/JOptionPane/8139213/OptionPaneTest.java +++ b/test/javax/swing/JOptionPane/8139213/OptionPaneTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8139213 * @summary Mac OS Aqua X LAF: JOptionPane truncates the first button * @run main OptionPaneTest diff --git a/test/javax/swing/JPopupMenu/4458079/bug4458079.java b/test/javax/swing/JPopupMenu/4458079/bug4458079.java --- a/test/javax/swing/JPopupMenu/4458079/bug4458079.java +++ b/test/javax/swing/JPopupMenu/4458079/bug4458079.java @@ -20,14 +20,18 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 4458079 - @library ../../regtesthelpers - @build Util - @summary Tests calling removeAll() from PopupMenuListener - @author Peter Zhelezniakov - @run main bug4458079 -*/ + +/* + * @test + * @key headful + * @bug 4458079 + * @library ../../regtesthelpers + * @build Util + * @summary Tests calling removeAll() from PopupMenuListener + * @author Peter Zhelezniakov + * @run main bug4458079 + */ + import java.awt.Robot; import java.awt.Toolkit; import java.awt.event.*; diff --git a/test/javax/swing/JPopupMenu/4966112/bug4966112.java b/test/javax/swing/JPopupMenu/4966112/bug4966112.java --- a/test/javax/swing/JPopupMenu/4966112/bug4966112.java +++ b/test/javax/swing/JPopupMenu/4966112/bug4966112.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4966112 * @summary Some Composite components does not show the Context Popup. * @library ../../regtesthelpers diff --git a/test/javax/swing/JPopupMenu/6415145/bug6415145.java b/test/javax/swing/JPopupMenu/6415145/bug6415145.java --- a/test/javax/swing/JPopupMenu/6415145/bug6415145.java +++ b/test/javax/swing/JPopupMenu/6415145/bug6415145.java @@ -21,14 +21,15 @@ * questions. */ /* -@test -@bug 6415145 -@summary REGRESSION: Selected item is not being updated while dragging above popup menu -@library ../../../../lib/testlibrary -@build ExtendedRobot -@author Mikhail Lapshin -@run main bug6415145 -*/ + * @test + * @key headful + * @bug 6415145 + * @summary REGRESSION: Selected item is not being updated while dragging above popup menu + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @author Mikhail Lapshin + * @run main bug6415145 + */ import javax.swing.*; import java.awt.event.*; diff --git a/test/javax/swing/JPopupMenu/6495920/bug6495920.java b/test/javax/swing/JPopupMenu/6495920/bug6495920.java --- a/test/javax/swing/JPopupMenu/6495920/bug6495920.java +++ b/test/javax/swing/JPopupMenu/6495920/bug6495920.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6495920 * @summary Tests that if the JPopupMenu.setVisible method throws an exception, interaction with GNOME is not crippled diff --git a/test/javax/swing/JPopupMenu/6515446/bug6515446.java b/test/javax/swing/JPopupMenu/6515446/bug6515446.java --- a/test/javax/swing/JPopupMenu/6515446/bug6515446.java +++ b/test/javax/swing/JPopupMenu/6515446/bug6515446.java @@ -21,14 +21,15 @@ * questions. */ /* -@test -@bug 6515446 -@summary JMenuItems in JPopupMenus not receiving ActionEvents - incompat with 1.5 -@author Alexander Potochkin -@library ../../../../lib/testlibrary -@build ExtendedRobot -@run main bug6515446 -*/ + * @test + * @key headful + * @bug 6515446 + * @summary JMenuItems in JPopupMenus not receiving ActionEvents - incompat with 1.5 + * @author Alexander Potochkin + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main bug6515446 + */ import javax.swing.*; import java.awt.event.*; diff --git a/test/javax/swing/JPopupMenu/6544309/bug6544309.java b/test/javax/swing/JPopupMenu/6544309/bug6544309.java --- a/test/javax/swing/JPopupMenu/6544309/bug6544309.java +++ b/test/javax/swing/JPopupMenu/6544309/bug6544309.java @@ -20,7 +20,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test +/* + @test + @key headful @bug 6544309 @summary Checks that 'Select Input Method' popup menu allows to select items with keyboard. diff --git a/test/javax/swing/JPopupMenu/6580930/bug6580930.java b/test/javax/swing/JPopupMenu/6580930/bug6580930.java --- a/test/javax/swing/JPopupMenu/6580930/bug6580930.java +++ b/test/javax/swing/JPopupMenu/6580930/bug6580930.java @@ -21,14 +21,15 @@ * questions. */ /* -@test -@bug 6580930 7184956 -@summary Swing Popups should overlap taskbar -@author Alexander Potochkin -@library ../../../../lib/testlibrary -@build ExtendedRobot -@run main bug6580930 -*/ + * @test + * @key headful + * @bug 6580930 7184956 + * @summary Swing Popups should overlap taskbar + * @author Alexander Potochkin + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @run main bug6580930 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JPopupMenu/6583251/bug6583251.java b/test/javax/swing/JPopupMenu/6583251/bug6583251.java --- a/test/javax/swing/JPopupMenu/6583251/bug6583251.java +++ b/test/javax/swing/JPopupMenu/6583251/bug6583251.java @@ -24,12 +24,13 @@ */ /* -@test -@bug 6583251 -@summary One more ClassCastException in Swing with TrayIcon -@author Alexander Potochkin -@run main bug6583251 -*/ + * @test + * @key headful + * @bug 6583251 + * @summary One more ClassCastException in Swing with TrayIcon + * @author Alexander Potochkin + * @run main bug6583251 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JPopupMenu/6691503/bug6691503.java b/test/javax/swing/JPopupMenu/6691503/bug6691503.java --- a/test/javax/swing/JPopupMenu/6691503/bug6691503.java +++ b/test/javax/swing/JPopupMenu/6691503/bug6691503.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6691503 * @summary Checks that there is no opportunity for a malicious applet * to show a popup menu which has whole screen size. diff --git a/test/javax/swing/JPopupMenu/6694823/bug6694823.java b/test/javax/swing/JPopupMenu/6694823/bug6694823.java --- a/test/javax/swing/JPopupMenu/6694823/bug6694823.java +++ b/test/javax/swing/JPopupMenu/6694823/bug6694823.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6694823 * @summary Checks that popup menu cannot be partially hidden * by the task bar in applets. diff --git a/test/javax/swing/JPopupMenu/6800513/bug6800513.java b/test/javax/swing/JPopupMenu/6800513/bug6800513.java --- a/test/javax/swing/JPopupMenu/6800513/bug6800513.java +++ b/test/javax/swing/JPopupMenu/6800513/bug6800513.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 6800513 * @summary GTK-LaF renders menus incompletely * @author Mario Torre diff --git a/test/javax/swing/JPopupMenu/6827786/bug6827786.java b/test/javax/swing/JPopupMenu/6827786/bug6827786.java --- a/test/javax/swing/JPopupMenu/6827786/bug6827786.java +++ b/test/javax/swing/JPopupMenu/6827786/bug6827786.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6827786 * @summary Tests duplicate mnemonics * @author Peter Zhelezniakov diff --git a/test/javax/swing/JPopupMenu/6987844/bug6987844.java b/test/javax/swing/JPopupMenu/6987844/bug6987844.java --- a/test/javax/swing/JPopupMenu/6987844/bug6987844.java +++ b/test/javax/swing/JPopupMenu/6987844/bug6987844.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6987844 * @summary Incorrect width of JComboBox drop down * @author Alexander Potochkin diff --git a/test/javax/swing/JPopupMenu/7156657/bug7156657.java b/test/javax/swing/JPopupMenu/7156657/bug7156657.java --- a/test/javax/swing/JPopupMenu/7156657/bug7156657.java +++ b/test/javax/swing/JPopupMenu/7156657/bug7156657.java @@ -29,7 +29,9 @@ import java.awt.image.BufferedImage; import java.util.concurrent.Callable; -/* @test +/* + @test + @key headful @bug 7156657 @summary Version 7 doesn't support translucent popup menus against a translucent window @library ../../regtesthelpers diff --git a/test/javax/swing/JPopupMenu/8147521/PopupMenuTest.java b/test/javax/swing/JPopupMenu/8147521/PopupMenuTest.java --- a/test/javax/swing/JPopupMenu/8147521/PopupMenuTest.java +++ b/test/javax/swing/JPopupMenu/8147521/PopupMenuTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8147521 8158358 * @summary [macosx] Internal API Usage: setPopupType used to force creation of * heavyweight popup diff --git a/test/javax/swing/JProgressBar/8015748/JProgressBarOrientationRobotTest.java b/test/javax/swing/JProgressBar/8015748/JProgressBarOrientationRobotTest.java --- a/test/javax/swing/JProgressBar/8015748/JProgressBarOrientationRobotTest.java +++ b/test/javax/swing/JProgressBar/8015748/JProgressBarOrientationRobotTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8015748 * @summary verifies ProgressBar RightToLeft orientations for all Look and Feels * @library ../../regtesthelpers diff --git a/test/javax/swing/JRadioButton/8033699/bug8033699.java b/test/javax/swing/JRadioButton/8033699/bug8033699.java --- a/test/javax/swing/JRadioButton/8033699/bug8033699.java +++ b/test/javax/swing/JRadioButton/8033699/bug8033699.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @library ../../regtesthelpers * @build Util * @bug 8033699 diff --git a/test/javax/swing/JRadioButton/8041561/bug8041561.java b/test/javax/swing/JRadioButton/8041561/bug8041561.java --- a/test/javax/swing/JRadioButton/8041561/bug8041561.java +++ b/test/javax/swing/JRadioButton/8041561/bug8041561.java @@ -36,6 +36,7 @@ /** * @test + * @key headful * @bug 8041561 * @author Alexander Scherbatiy * @summary Inconsistent opacity behaviour between JCheckBox and JRadioButton diff --git a/test/javax/swing/JRadioButton/8075609/bug8075609.java b/test/javax/swing/JRadioButton/8075609/bug8075609.java --- a/test/javax/swing/JRadioButton/8075609/bug8075609.java +++ b/test/javax/swing/JRadioButton/8075609/bug8075609.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @library ../../regtesthelpers * @build Util * @bug 8075609 diff --git a/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java b/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java --- a/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java +++ b/test/javax/swing/JRadioButton/FocusTraversal/FocusTraversal.java @@ -21,11 +21,14 @@ * questions. */ -/* @test - @bug 8129940 8132770 - @summary JRadioButton should run custom FocusTraversalKeys for all LaFs - @run main FocusTraversal +/* + * @test + * @key headful + * @bug 8129940 8132770 + * @summary JRadioButton should run custom FocusTraversalKeys for all LaFs + * @run main FocusTraversal */ + import java.awt.BorderLayout; import java.awt.Component; import java.awt.KeyboardFocusManager; diff --git a/test/javax/swing/JRootPane/4670486/bug4670486.java b/test/javax/swing/JRootPane/4670486/bug4670486.java --- a/test/javax/swing/JRootPane/4670486/bug4670486.java +++ b/test/javax/swing/JRootPane/4670486/bug4670486.java @@ -27,6 +27,7 @@ /** * @test + * @key headful * @bug 4670486 * @author Mark Davidson * @summary Regression: Popup menu bindings doesn't work when a default button has been defined. diff --git a/test/javax/swing/JRootPane/SilenceOfDeprecatedMenuBar/SilenceOfDeprecatedMenuBar.java b/test/javax/swing/JRootPane/SilenceOfDeprecatedMenuBar/SilenceOfDeprecatedMenuBar.java --- a/test/javax/swing/JRootPane/SilenceOfDeprecatedMenuBar/SilenceOfDeprecatedMenuBar.java +++ b/test/javax/swing/JRootPane/SilenceOfDeprecatedMenuBar/SilenceOfDeprecatedMenuBar.java @@ -32,6 +32,7 @@ /** * @test + * @key headful * @bug 6368321 * @author Sergey Bylokhov */ diff --git a/test/javax/swing/JScrollBar/4708809/bug4708809.java b/test/javax/swing/JScrollBar/4708809/bug4708809.java --- a/test/javax/swing/JScrollBar/4708809/bug4708809.java +++ b/test/javax/swing/JScrollBar/4708809/bug4708809.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4708809 * @summary JScrollBar functionality slightly different from native scrollbar * @author Andrey Pikalev diff --git a/test/javax/swing/JScrollBar/4865918/bug4865918.java b/test/javax/swing/JScrollBar/4865918/bug4865918.java --- a/test/javax/swing/JScrollBar/4865918/bug4865918.java +++ b/test/javax/swing/JScrollBar/4865918/bug4865918.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4865918 * @summary REGRESSION:JCK1.4a-runtime api/javax_swing/interactive/JScrollBarTests.html#JScrollBar * @author Andrey Pikalev diff --git a/test/javax/swing/JScrollBar/6542335/bug6542335.java b/test/javax/swing/JScrollBar/6542335/bug6542335.java --- a/test/javax/swing/JScrollBar/6542335/bug6542335.java +++ b/test/javax/swing/JScrollBar/6542335/bug6542335.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 6542335 - @summary different behavior on knob of scroll bar between 1.4.2 and 5.0 - @author Alexander Potochkin - @run main bug6542335 -*/ +/* + * @test + * @key headful + * @bug 6542335 + * @summary different behavior on knob of scroll bar between 1.4.2 and 5.0 + * @author Alexander Potochkin + * @run main bug6542335 + */ import javax.swing.*; import javax.swing.plaf.basic.BasicScrollBarUI; diff --git a/test/javax/swing/JScrollBar/7163696/Test7163696.java b/test/javax/swing/JScrollBar/7163696/Test7163696.java --- a/test/javax/swing/JScrollBar/7163696/Test7163696.java +++ b/test/javax/swing/JScrollBar/7163696/Test7163696.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 7163696 * @summary Tests that JScrollBar scrolls to the left * @author Sergey Malenkov diff --git a/test/javax/swing/JScrollBar/bug4202954/bug4202954.java b/test/javax/swing/JScrollBar/bug4202954/bug4202954.java --- a/test/javax/swing/JScrollBar/bug4202954/bug4202954.java +++ b/test/javax/swing/JScrollBar/bug4202954/bug4202954.java @@ -20,14 +20,16 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test +/* + @test + @key headful @bug 4202954 @library ../../../../lib/testlibrary @library ../../regtesthelpers @build Util jdk.testlibrary.OSInfo @author Michael C. Albers @run main bug4202954 -*/ + */ import java.awt.*; import java.awt.event.InputEvent; diff --git a/test/javax/swing/JScrollPane/6274267/bug6274267.java b/test/javax/swing/JScrollPane/6274267/bug6274267.java --- a/test/javax/swing/JScrollPane/6274267/bug6274267.java +++ b/test/javax/swing/JScrollPane/6274267/bug6274267.java @@ -23,13 +23,15 @@ * questions. */ -/* @test - @bug 6274267 - @summary Checks that ScrollPaneLayout properly calculates preferred - layout size. - @author Mikhail Lapshin - @run main bug6274267 -*/ +/* + * @test + * @key headful + * @bug 6274267 + * @summary Checks that ScrollPaneLayout properly calculates preferred + * layout size. + * @author Mikhail Lapshin + * @run main bug6274267 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JScrollPane/HorizontalMouseWheelOnShiftPressed/HorizontalMouseWheelOnShiftPressed.java b/test/javax/swing/JScrollPane/HorizontalMouseWheelOnShiftPressed/HorizontalMouseWheelOnShiftPressed.java --- a/test/javax/swing/JScrollPane/HorizontalMouseWheelOnShiftPressed/HorizontalMouseWheelOnShiftPressed.java +++ b/test/javax/swing/JScrollPane/HorizontalMouseWheelOnShiftPressed/HorizontalMouseWheelOnShiftPressed.java @@ -35,6 +35,7 @@ /** * @test + * @key headful * @bug 8033000 8147994 * @author Alexander Scherbatiy * @summary No Horizontal Mouse Wheel Support In BasicScrollPaneUI diff --git a/test/javax/swing/JScrollPane/Test6526631.java b/test/javax/swing/JScrollPane/Test6526631.java --- a/test/javax/swing/JScrollPane/Test6526631.java +++ b/test/javax/swing/JScrollPane/Test6526631.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6526631 * @summary Resizes right-oriented scroll pane * @author Sergey Malenkov diff --git a/test/javax/swing/JScrollPane/bug8044371.java b/test/javax/swing/JScrollPane/bug8044371.java --- a/test/javax/swing/JScrollPane/bug8044371.java +++ b/test/javax/swing/JScrollPane/bug8044371.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8044371 * @summary setOneTouchExpandable functionality of JSplitPane will reduce vertical Scrollbar * @author Anton Nashatyrev diff --git a/test/javax/swing/JSlider/6348946/bug6348946.java b/test/javax/swing/JSlider/6348946/bug6348946.java --- a/test/javax/swing/JSlider/6348946/bug6348946.java +++ b/test/javax/swing/JSlider/6348946/bug6348946.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6348946 * @summary Tests that JSlider's thumb moves in the right direction * when it is used as a JTable cell editor. diff --git a/test/javax/swing/JSlider/6401380/bug6401380.java b/test/javax/swing/JSlider/6401380/bug6401380.java --- a/test/javax/swing/JSlider/6401380/bug6401380.java +++ b/test/javax/swing/JSlider/6401380/bug6401380.java @@ -20,14 +20,17 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 6401380 - @summary JSlider - mouse click ont the left side of the knob is ignored. - @library ../../../../lib/testlibrary - @build ExtendedRobot - @author Alexander Potochkin - @run main bug6401380 -*/ + +/* + * @test + * @key headful + * @bug 6401380 + * @summary JSlider - mouse click ont the left side of the knob is ignored. + * @library ../../../../lib/testlibrary + * @build ExtendedRobot + * @author Alexander Potochkin + * @run main bug6401380 + */ import javax.swing.*; import javax.swing.plaf.basic.BasicSliderUI; diff --git a/test/javax/swing/JSlider/6794831/bug6794831.java b/test/javax/swing/JSlider/6794831/bug6794831.java --- a/test/javax/swing/JSlider/6794831/bug6794831.java +++ b/test/javax/swing/JSlider/6794831/bug6794831.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6794831 * @summary Infinite loop while painting ticks on Slider with maximum=MAX_INT * @author Pavel Porvatov diff --git a/test/javax/swing/JSlider/6848475/bug6848475.java b/test/javax/swing/JSlider/6848475/bug6848475.java --- a/test/javax/swing/JSlider/6848475/bug6848475.java +++ b/test/javax/swing/JSlider/6848475/bug6848475.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6848475 * @summary JSlider does not display the correct value of its BoundedRangeModel * @author Pavel Porvatov diff --git a/test/javax/swing/JSlider/6918861/bug6918861.java b/test/javax/swing/JSlider/6918861/bug6918861.java --- a/test/javax/swing/JSlider/6918861/bug6918861.java +++ b/test/javax/swing/JSlider/6918861/bug6918861.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6918861 * @summary SynthSliderUI.uninstallDefaults() is not called when UI is uninstalled * @author Pavel Porvatov diff --git a/test/javax/swing/JSlider/6923305/bug6923305.java b/test/javax/swing/JSlider/6923305/bug6923305.java --- a/test/javax/swing/JSlider/6923305/bug6923305.java +++ b/test/javax/swing/JSlider/6923305/bug6923305.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6923305 * @summary SynthSliderUI paints the slider track when the slider's "paintTrack" property is set to false * @author Pavel Porvatov diff --git a/test/javax/swing/JSpinner/4973721/bug4973721.java b/test/javax/swing/JSpinner/4973721/bug4973721.java --- a/test/javax/swing/JSpinner/4973721/bug4973721.java +++ b/test/javax/swing/JSpinner/4973721/bug4973721.java @@ -20,14 +20,16 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test +/* + @test + @key headful @bug 4973721 @summary Up and Down Arrow key buttons are not working for the JSpinner in Synth LAF @library ../../regtesthelpers @build Util @author Oleg Mokhovikov @run main bug4973721 -*/ + */ import java.awt.Robot; import javax.swing.event.ChangeListener; diff --git a/test/javax/swing/JSpinner/6421058/bug6421058.java b/test/javax/swing/JSpinner/6421058/bug6421058.java --- a/test/javax/swing/JSpinner/6421058/bug6421058.java +++ b/test/javax/swing/JSpinner/6421058/bug6421058.java @@ -21,13 +21,14 @@ * questions. */ - /* - * @test - * @bug 6421058 - * @summary Verify font of the text field is changed to the font of - * JSpinner if the font of text field was NOT set by the user - * @run main bug6421058 - */ +/* + * @test + * @key headful + * @bug 6421058 + * @summary Verify font of the text field is changed to the font of + * JSpinner if the font of text field was NOT set by the user + * @run main bug6421058 + */ import java.awt.Font; import javax.swing.JFrame; diff --git a/test/javax/swing/JSpinner/6532833/bug6532833.java b/test/javax/swing/JSpinner/6532833/bug6532833.java --- a/test/javax/swing/JSpinner/6532833/bug6532833.java +++ b/test/javax/swing/JSpinner/6532833/bug6532833.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6532833 7077259 * @summary PIT: Metal LAF - The right side border is not shown for the Spinner after the removing the buttons * @author Pavel Porvatov diff --git a/test/javax/swing/JSpinner/8008657/bug8008657.java b/test/javax/swing/JSpinner/8008657/bug8008657.java --- a/test/javax/swing/JSpinner/8008657/bug8008657.java +++ b/test/javax/swing/JSpinner/8008657/bug8008657.java @@ -37,6 +37,7 @@ /** * @test + * @key headful * @bug 8008657 * @author Alexander Scherbatiy * @summary JSpinner setComponentOrientation doesn't affect on text orientation diff --git a/test/javax/swing/JSpinner/WrongEditorTextFieldFont/WrongEditorTextFieldFont.java b/test/javax/swing/JSpinner/WrongEditorTextFieldFont/WrongEditorTextFieldFont.java --- a/test/javax/swing/JSpinner/WrongEditorTextFieldFont/WrongEditorTextFieldFont.java +++ b/test/javax/swing/JSpinner/WrongEditorTextFieldFont/WrongEditorTextFieldFont.java @@ -36,6 +36,7 @@ /** * @test + * @key headful * @bug 5036022 * @author Sergey Bylokhov */ diff --git a/test/javax/swing/JSplitPane/4816114/bug4816114.java b/test/javax/swing/JSplitPane/4816114/bug4816114.java --- a/test/javax/swing/JSplitPane/4816114/bug4816114.java +++ b/test/javax/swing/JSplitPane/4816114/bug4816114.java @@ -20,12 +20,15 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test - @bug 4816114 - @summary REGRESSION: Regression in divider location behavior when JSplitPane is resized - @author Andrey Pikalev - @run main bug4816114 -*/ + +/* + * @test + * @key headful + * @bug 4816114 + * @summary REGRESSION: Regression in divider location behavior when JSplitPane is resized + * @author Andrey Pikalev + * @run main bug4816114 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JSplitPane/4885629/bug4885629.java b/test/javax/swing/JSplitPane/4885629/bug4885629.java --- a/test/javax/swing/JSplitPane/4885629/bug4885629.java +++ b/test/javax/swing/JSplitPane/4885629/bug4885629.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4885629 * @summary With JSplitPane in VERTICAL_SPLIT, SplitPaneBorder draws bottom edge of divider * @author Andrey Pikalev diff --git a/test/javax/swing/JTabbedPane/4361477/bug4361477.java b/test/javax/swing/JTabbedPane/4361477/bug4361477.java --- a/test/javax/swing/JTabbedPane/4361477/bug4361477.java +++ b/test/javax/swing/JTabbedPane/4361477/bug4361477.java @@ -28,6 +28,7 @@ /* * @test + * @key headful * @bug 4361477 * @summary JTabbedPane throws ArrayOutOfBoundsException * @author Oleg Mokhovikov diff --git a/test/javax/swing/JTabbedPane/4624207/bug4624207.java b/test/javax/swing/JTabbedPane/4624207/bug4624207.java --- a/test/javax/swing/JTabbedPane/4624207/bug4624207.java +++ b/test/javax/swing/JTabbedPane/4624207/bug4624207.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4624207 * @summary JTabbedPane mnemonics don't work from outside the tabbed pane * @author Oleg Mokhovikov diff --git a/test/javax/swing/JTabbedPane/6495408/bug6495408.java b/test/javax/swing/JTabbedPane/6495408/bug6495408.java --- a/test/javax/swing/JTabbedPane/6495408/bug6495408.java +++ b/test/javax/swing/JTabbedPane/6495408/bug6495408.java @@ -25,6 +25,7 @@ import java.awt.*; /* * @test + * @key headful * @bug 6495408 * @summary REGRESSION: JTabbedPane throws ArrayIndexOutOfBoundsException * @author Alexander Potochkin diff --git a/test/javax/swing/JTabbedPane/7024235/Test7024235.java b/test/javax/swing/JTabbedPane/7024235/Test7024235.java --- a/test/javax/swing/JTabbedPane/7024235/Test7024235.java +++ b/test/javax/swing/JTabbedPane/7024235/Test7024235.java @@ -38,6 +38,7 @@ /* * @test + * @key headful * @bug 7024235 * @summary Tests JFrame.pack() with the JTabbedPane * @library ../../../../lib/testlibrary/ diff --git a/test/javax/swing/JTabbedPane/7161568/bug7161568.java b/test/javax/swing/JTabbedPane/7161568/bug7161568.java --- a/test/javax/swing/JTabbedPane/7161568/bug7161568.java +++ b/test/javax/swing/JTabbedPane/7161568/bug7161568.java @@ -26,6 +26,7 @@ /** * @test + * @key headful * @bug 7161568 * @author Alexander Scherbatiy * @summary Tests that navigating tabs in the JTAbbedPane does not throw NPE diff --git a/test/javax/swing/JTabbedPane/8007563/Test8007563.java b/test/javax/swing/JTabbedPane/8007563/Test8007563.java --- a/test/javax/swing/JTabbedPane/8007563/Test8007563.java +++ b/test/javax/swing/JTabbedPane/8007563/Test8007563.java @@ -33,6 +33,7 @@ /* * @test + * @key headful * @bug 8007563 * @summary Tests JTabbedPane background * @author Sergey Malenkov diff --git a/test/javax/swing/JTabbedPane/8017284/bug8017284.java b/test/javax/swing/JTabbedPane/8017284/bug8017284.java --- a/test/javax/swing/JTabbedPane/8017284/bug8017284.java +++ b/test/javax/swing/JTabbedPane/8017284/bug8017284.java @@ -31,6 +31,7 @@ /** * @test + * @key headful * @bug 8017284 * @author Alexander Scherbatiy * @summary Aqua LaF: memory leak when HTML is used for JTabbedPane tab titles diff --git a/test/javax/swing/JTabbedPane/8134116/Bug8134116.java b/test/javax/swing/JTabbedPane/8134116/Bug8134116.java --- a/test/javax/swing/JTabbedPane/8134116/Bug8134116.java +++ b/test/javax/swing/JTabbedPane/8134116/Bug8134116.java @@ -12,6 +12,7 @@ /* * @test + * @key headful * @bug 8134116 * @summary JTabbedPane$Page.getBounds throws IndexOutOfBoundsException * @run main Bug8134116 diff --git a/test/javax/swing/JTabbedPane/8137169/ScrollableTabbedPaneTest.java b/test/javax/swing/JTabbedPane/8137169/ScrollableTabbedPaneTest.java --- a/test/javax/swing/JTabbedPane/8137169/ScrollableTabbedPaneTest.java +++ b/test/javax/swing/JTabbedPane/8137169/ScrollableTabbedPaneTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8137169 * @summary verifies TabbedScrollPane minimum height for all Look and Feels * @library ../../regtesthelpers diff --git a/test/javax/swing/JTable/4220171/bug4220171.java b/test/javax/swing/JTable/4220171/bug4220171.java --- a/test/javax/swing/JTable/4220171/bug4220171.java +++ b/test/javax/swing/JTable/4220171/bug4220171.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4220171 * @author Konstantin Eremin * @summary Tests diff --git a/test/javax/swing/JTable/6263446/bug6263446.java b/test/javax/swing/JTable/6263446/bug6263446.java --- a/test/javax/swing/JTable/6263446/bug6263446.java +++ b/test/javax/swing/JTable/6263446/bug6263446.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6263446 * @summary Tests that double-clicking to edit a cell doesn't select the content. * @author Shannon Hickey diff --git a/test/javax/swing/JTable/6777378/bug6777378.java b/test/javax/swing/JTable/6777378/bug6777378.java --- a/test/javax/swing/JTable/6777378/bug6777378.java +++ b/test/javax/swing/JTable/6777378/bug6777378.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 6777378 @summary NullPointerException in XPDefaultRenderer.paint() @author Alexander Potochkin diff --git a/test/javax/swing/JTable/6894632/bug6894632.java b/test/javax/swing/JTable/6894632/bug6894632.java --- a/test/javax/swing/JTable/6894632/bug6894632.java +++ b/test/javax/swing/JTable/6894632/bug6894632.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 6894632 - @summary Removing rows from a DefaultTableModel with a RowSorter deselectes - last row - @author Semyon Sadetsky -*/ +/* + * @test + * @key headful + * @bug 6894632 + * @summary Removing rows from a DefaultTableModel with a RowSorter deselectes + * last row + * @author Semyon Sadetsky + */ import javax.swing.*; import javax.swing.table.DefaultTableModel; diff --git a/test/javax/swing/JTable/6913768/bug6913768.java b/test/javax/swing/JTable/6913768/bug6913768.java --- a/test/javax/swing/JTable/6913768/bug6913768.java +++ b/test/javax/swing/JTable/6913768/bug6913768.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6913768 * @summary With default SynthLookAndFeel instance installed new JTable creation leads to throwing NPE * @author Pavel Porvatov diff --git a/test/javax/swing/JTable/7055065/bug7055065.java b/test/javax/swing/JTable/7055065/bug7055065.java --- a/test/javax/swing/JTable/7055065/bug7055065.java +++ b/test/javax/swing/JTable/7055065/bug7055065.java @@ -25,7 +25,9 @@ * Portions Copyright (c) 2012 IBM Corporation */ -/* @test 1.1 2012/04/19 +/* + * @test + * @key headful * @bug 7055065 * @summary NullPointerException when sorting JTable with empty cell * @author Jonathan Lu diff --git a/test/javax/swing/JTable/7068740/bug7068740.java b/test/javax/swing/JTable/7068740/bug7068740.java --- a/test/javax/swing/JTable/7068740/bug7068740.java +++ b/test/javax/swing/JTable/7068740/bug7068740.java @@ -22,11 +22,12 @@ */ /* @test - @bug 7068740 - @summary JTable wrapped in JLayer can't use PGUP/PGDOWN keys - @author Vladislav Karnaukhov - @run main bug7068740 -*/ + * @key headful + * @bug 7068740 + * @summary JTable wrapped in JLayer can't use PGUP/PGDOWN keys + * @author Vladislav Karnaukhov + * @run main bug7068740 + */ import javax.swing.*; import javax.swing.plaf.LayerUI; diff --git a/test/javax/swing/JTable/7124218/SelectEditTableCell.java b/test/javax/swing/JTable/7124218/SelectEditTableCell.java --- a/test/javax/swing/JTable/7124218/SelectEditTableCell.java +++ b/test/javax/swing/JTable/7124218/SelectEditTableCell.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 7124218 * @summary verifies different behaviour of SPACE and ENTER in JTable * @library ../../regtesthelpers diff --git a/test/javax/swing/JTable/7188612/JTableAccessibleGetLocationOnScreen.java b/test/javax/swing/JTable/7188612/JTableAccessibleGetLocationOnScreen.java --- a/test/javax/swing/JTable/7188612/JTableAccessibleGetLocationOnScreen.java +++ b/test/javax/swing/JTable/7188612/JTableAccessibleGetLocationOnScreen.java @@ -25,7 +25,9 @@ * Portions Copyright (c) 2012 IBM Corporation */ -/* @test +/* + * @test + * @key headful * @bug 7188612 * @summary AccessibleTableHeader and AccessibleJTableCell should stick to * AccessibleComponent.getLocationOnScreen api. diff --git a/test/javax/swing/JTable/8032874/bug8032874.java b/test/javax/swing/JTable/8032874/bug8032874.java --- a/test/javax/swing/JTable/8032874/bug8032874.java +++ b/test/javax/swing/JTable/8032874/bug8032874.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8032874 * @summary Test whether ArrayIndexOutOfBoundsException is thrown or not, * once selected row is removed from JTable with Sorter and Filter diff --git a/test/javax/swing/JTableHeader/4473075/bug4473075.java b/test/javax/swing/JTableHeader/4473075/bug4473075.java --- a/test/javax/swing/JTableHeader/4473075/bug4473075.java +++ b/test/javax/swing/JTableHeader/4473075/bug4473075.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 4473075 @summary JTable header rendering problem (after setting preferred size) @author Semyon Sadetsky diff --git a/test/javax/swing/JTableHeader/6884066/bug6884066.java b/test/javax/swing/JTableHeader/6884066/bug6884066.java --- a/test/javax/swing/JTableHeader/6884066/bug6884066.java +++ b/test/javax/swing/JTableHeader/6884066/bug6884066.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 6884066 @summary JTableHeader listens mouse in disabled state and doesn't work when not attached to a table @author Alexander Potochkin diff --git a/test/javax/swing/JTableHeader/6889007/bug6889007.java b/test/javax/swing/JTableHeader/6889007/bug6889007.java --- a/test/javax/swing/JTableHeader/6889007/bug6889007.java +++ b/test/javax/swing/JTableHeader/6889007/bug6889007.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 6889007 @summary No resize cursor during hovering mouse over JTable @author Alexander Potochkin diff --git a/test/javax/swing/JTextArea/4697612/bug4697612.java b/test/javax/swing/JTextArea/4697612/bug4697612.java --- a/test/javax/swing/JTextArea/4697612/bug4697612.java +++ b/test/javax/swing/JTextArea/4697612/bug4697612.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4697612 6244705 * @author Peter Zhelezniakov * @library ../../regtesthelpers diff --git a/test/javax/swing/JTextArea/7049024/bug7049024.java b/test/javax/swing/JTextArea/7049024/bug7049024.java --- a/test/javax/swing/JTextArea/7049024/bug7049024.java +++ b/test/javax/swing/JTextArea/7049024/bug7049024.java @@ -25,7 +25,9 @@ * Portions Copyright (c) 2011 IBM Corporation */ -/* @test +/* + * @test + * @key headful * @bug 7049024 * @summary DnD fails with JTextArea and JTextField * @author Sean Chou diff --git a/test/javax/swing/JTextArea/8149849/DNDTextToScaledArea.java b/test/javax/swing/JTextArea/8149849/DNDTextToScaledArea.java --- a/test/javax/swing/JTextArea/8149849/DNDTextToScaledArea.java +++ b/test/javax/swing/JTextArea/8149849/DNDTextToScaledArea.java @@ -34,6 +34,7 @@ /** * @test + * @key headful * @bug 8149849 * @summary [hidpi] DnD issues (cannot DnD from JFileChooser to JEditorPane or * other text component) when scale > 1 diff --git a/test/javax/swing/JTextArea/Test6593649.java b/test/javax/swing/JTextArea/Test6593649.java --- a/test/javax/swing/JTextArea/Test6593649.java +++ b/test/javax/swing/JTextArea/Test6593649.java @@ -21,12 +21,14 @@ * questions. */ -/* @test - @bug 6593649 - @summary Word wrap does not work in JTextArea: long lines are not wrapped - @author Lillian Angel - @run main Test6593649 -*/ +/* + * @test + * @key headful + * @bug 6593649 + * @summary Word wrap does not work in JTextArea: long lines are not wrapped + * @author Lillian Angel + * @run main Test6593649 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JTextArea/TextViewOOM/TextViewOOM.java b/test/javax/swing/JTextArea/TextViewOOM/TextViewOOM.java --- a/test/javax/swing/JTextArea/TextViewOOM/TextViewOOM.java +++ b/test/javax/swing/JTextArea/TextViewOOM/TextViewOOM.java @@ -29,6 +29,7 @@ /** * @test + * @key headful * @bug 8072775 * @run main/othervm -Xmx80m TextViewOOM */ diff --git a/test/javax/swing/JTextField/8036819/bug8036819.java b/test/javax/swing/JTextField/8036819/bug8036819.java --- a/test/javax/swing/JTextField/8036819/bug8036819.java +++ b/test/javax/swing/JTextField/8036819/bug8036819.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @library ../../regtesthelpers * @build Util * @bug 8036819 diff --git a/test/javax/swing/JTextPane/JTextPaneDocumentAlignment.java b/test/javax/swing/JTextPane/JTextPaneDocumentAlignment.java --- a/test/javax/swing/JTextPane/JTextPaneDocumentAlignment.java +++ b/test/javax/swing/JTextPane/JTextPaneDocumentAlignment.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 8132136 - @summary [PIT] RTL orientation in JEditorPane is broken - @author Semyon Sadetsky - */ +/* + * @test + * @key headful + * @bug 8132136 + * @summary [PIT] RTL orientation in JEditorPane is broken + * @author Semyon Sadetsky + */ import javax.swing.*; import javax.swing.text.BadLocationException; diff --git a/test/javax/swing/JTextPane/JTextPaneDocumentWrapping.java b/test/javax/swing/JTextPane/JTextPaneDocumentWrapping.java --- a/test/javax/swing/JTextPane/JTextPaneDocumentWrapping.java +++ b/test/javax/swing/JTextPane/JTextPaneDocumentWrapping.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 8133108 - @summary [PIT] Container size is wrong in JEditorPane - @author Semyon Sadetsky - */ +/* + * @test + * @key headful + * @bug 8133108 + * @summary [PIT] Container size is wrong in JEditorPane + * @author Semyon Sadetsky + */ import javax.swing.*; import javax.swing.text.BadLocationException; diff --git a/test/javax/swing/JTextPane/bug8025082.java b/test/javax/swing/JTextPane/bug8025082.java --- a/test/javax/swing/JTextPane/bug8025082.java +++ b/test/javax/swing/JTextPane/bug8025082.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8025082 * @summary The behaviour of the highlight will be lost after clicking the set * button. diff --git a/test/javax/swing/JToolBar/4247996/bug4247996.java b/test/javax/swing/JToolBar/4247996/bug4247996.java --- a/test/javax/swing/JToolBar/4247996/bug4247996.java +++ b/test/javax/swing/JToolBar/4247996/bug4247996.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 4247996 4260485 * @summary Test that rollover toolbar doesn't corrupt buttons * @author Peter Zhelezniakov diff --git a/test/javax/swing/JToolBar/4529206/bug4529206.java b/test/javax/swing/JToolBar/4529206/bug4529206.java --- a/test/javax/swing/JToolBar/4529206/bug4529206.java +++ b/test/javax/swing/JToolBar/4529206/bug4529206.java @@ -23,12 +23,14 @@ * questions. */ -/* @test - @bug 4529206 - @summary JToolBar - setFloating does not work correctly - @author Konstantin Eremin - @run main bug4529206 -*/ +/* + * @test + * @key headful + * @bug 4529206 + * @summary JToolBar - setFloating does not work correctly + * @author Konstantin Eremin + * @run main bug4529206 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/JToolTip/4846413/bug4846413.java b/test/javax/swing/JToolTip/4846413/bug4846413.java --- a/test/javax/swing/JToolTip/4846413/bug4846413.java +++ b/test/javax/swing/JToolTip/4846413/bug4846413.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4846413 * @summary Checks if No tooltip modification when no KeyStroke modifier * @library ../../regtesthelpers diff --git a/test/javax/swing/JToolTip/6219960/bug6219960.java b/test/javax/swing/JToolTip/6219960/bug6219960.java --- a/test/javax/swing/JToolTip/6219960/bug6219960.java +++ b/test/javax/swing/JToolTip/6219960/bug6219960.java @@ -44,6 +44,7 @@ /** * @test + * @key headful * @bug 6219960 * @summary null reference in ToolTipManager * @run main bug6219960 diff --git a/test/javax/swing/JTree/4330357/bug4330357.java b/test/javax/swing/JTree/4330357/bug4330357.java --- a/test/javax/swing/JTree/4330357/bug4330357.java +++ b/test/javax/swing/JTree/4330357/bug4330357.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4330357 * @summary Tests that real editor in JTree cleans up after editing was stopped * @library ../../regtesthelpers diff --git a/test/javax/swing/JTree/4908142/bug4908142.java b/test/javax/swing/JTree/4908142/bug4908142.java --- a/test/javax/swing/JTree/4908142/bug4908142.java +++ b/test/javax/swing/JTree/4908142/bug4908142.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 4908142 * @summary JList doesn't handle search function appropriately * @author Andrey Pikalev diff --git a/test/javax/swing/JTree/4927934/bug4927934.java b/test/javax/swing/JTree/4927934/bug4927934.java --- a/test/javax/swing/JTree/4927934/bug4927934.java +++ b/test/javax/swing/JTree/4927934/bug4927934.java @@ -20,7 +20,9 @@ * or visit www.oracle.com if you need additional information or have any * questions. */ -/* @test +/* + @test + @key headful @bug 4927934 @summary JTree traversal is unlike Native windows tree traversal @author Andrey Pikalev diff --git a/test/javax/swing/JTree/6263446/bug6263446.java b/test/javax/swing/JTree/6263446/bug6263446.java --- a/test/javax/swing/JTree/6263446/bug6263446.java +++ b/test/javax/swing/JTree/6263446/bug6263446.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6263446 * @summary Tests that double-clicking to edit a cell doesn't select the content. * @author Shannon Hickey diff --git a/test/javax/swing/JTree/6505523/bug6505523.java b/test/javax/swing/JTree/6505523/bug6505523.java --- a/test/javax/swing/JTree/6505523/bug6505523.java +++ b/test/javax/swing/JTree/6505523/bug6505523.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6505523 * @summary NullPointerException in BasicTreeUI when a node is removed by expansion listener * @author Alexandr Scherbatiy diff --git a/test/javax/swing/JTree/6578666/bug6578666.java b/test/javax/swing/JTree/6578666/bug6578666.java --- a/test/javax/swing/JTree/6578666/bug6578666.java +++ b/test/javax/swing/JTree/6578666/bug6578666.java @@ -22,6 +22,7 @@ */ /* * @test + * @key headful * @bug 6578666 * @summary REGRESSION: Exception occurs when updateUI for JTree is triggered by KeyEvent * @run main bug6578666 diff --git a/test/javax/swing/JTree/8003400/Test8003400.java b/test/javax/swing/JTree/8003400/Test8003400.java --- a/test/javax/swing/JTree/8003400/Test8003400.java +++ b/test/javax/swing/JTree/8003400/Test8003400.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8003400 * @summary Tests that JTree shows the last row * @author Sergey Malenkov diff --git a/test/javax/swing/JTree/8004298/bug8004298.java b/test/javax/swing/JTree/8004298/bug8004298.java --- a/test/javax/swing/JTree/8004298/bug8004298.java +++ b/test/javax/swing/JTree/8004298/bug8004298.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8004298 * @summary NPE in WindowsTreeUI.ensureRowsAreVisible * @author Alexander Scherbatiy diff --git a/test/javax/swing/JTree/DnD/LastNodeLowerHalfDrop.java b/test/javax/swing/JTree/DnD/LastNodeLowerHalfDrop.java --- a/test/javax/swing/JTree/DnD/LastNodeLowerHalfDrop.java +++ b/test/javax/swing/JTree/DnD/LastNodeLowerHalfDrop.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8129830 8132771 * @summary JTree drag/drop on lower half of last child of container incorrect * @run main LastNodeLowerHalfDrop diff --git a/test/javax/swing/JViewport/7107099/bug7107099.java b/test/javax/swing/JViewport/7107099/bug7107099.java --- a/test/javax/swing/JViewport/7107099/bug7107099.java +++ b/test/javax/swing/JViewport/7107099/bug7107099.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 7107099 @summary JScrollBar does not show up even if there are enough lebgth of textstring in textField @author Pavel Porvatov diff --git a/test/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java b/test/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java --- a/test/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java +++ b/test/javax/swing/JWindow/ShapedAndTranslucentWindows/PerPixelTranslucentCanvas.java @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Check if a per-pixel translucent window shows up with correct translucency * @author mrkam * @library ../../../../lib/testlibrary diff --git a/test/javax/swing/KeyboardManager/8013370/Test8013370.java b/test/javax/swing/KeyboardManager/8013370/Test8013370.java --- a/test/javax/swing/KeyboardManager/8013370/Test8013370.java +++ b/test/javax/swing/KeyboardManager/8013370/Test8013370.java @@ -40,6 +40,7 @@ /* * @test + * @key headful * @bug 8013370 * @summary Ensure that key stroke is not null * @author Sergey Malenkov diff --git a/test/javax/swing/LookAndFeel/6897701/JMenuItemsTest.java b/test/javax/swing/LookAndFeel/6897701/JMenuItemsTest.java --- a/test/javax/swing/LookAndFeel/6897701/JMenuItemsTest.java +++ b/test/javax/swing/LookAndFeel/6897701/JMenuItemsTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6897701 * @summary Verify JMenu and JMenuItem Disabled state for Nimbus LAF * @run main JMenuItemsTest diff --git a/test/javax/swing/LookAndFeel/8146276/NimbusGlueTest.java b/test/javax/swing/LookAndFeel/8146276/NimbusGlueTest.java --- a/test/javax/swing/LookAndFeel/8146276/NimbusGlueTest.java +++ b/test/javax/swing/LookAndFeel/8146276/NimbusGlueTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8146276 * @summary Right aligned toolbar component does not appear * @run main NimbusGlueTest diff --git a/test/javax/swing/Popup/6514582/bug6514582.java b/test/javax/swing/Popup/6514582/bug6514582.java --- a/test/javax/swing/Popup/6514582/bug6514582.java +++ b/test/javax/swing/Popup/6514582/bug6514582.java @@ -23,12 +23,14 @@ * questions. */ -/* @test - @bug 6514582 - @summary SubMenu of a JMenu with no items paints a single pixel tiny menu. - @author Alexander Potochkin - @run main bug6514582 -*/ +/* + * @test + * @key headful + * @bug 6514582 + * @summary SubMenu of a JMenu with no items paints a single pixel tiny menu. + * @author Alexander Potochkin + * @run main bug6514582 + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/Popup/TaskbarPositionTest.java b/test/javax/swing/Popup/TaskbarPositionTest.java --- a/test/javax/swing/Popup/TaskbarPositionTest.java +++ b/test/javax/swing/Popup/TaskbarPositionTest.java @@ -28,6 +28,7 @@ /** * @test @bug 4245587 4474813 4425878 4767478 8015599 + * @key headful * @author Mark Davidson * @summary Tests the location of the heavy weight popup portion of JComboBox, * JMenu and JPopupMenu. diff --git a/test/javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java b/test/javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java --- a/test/javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java +++ b/test/javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java @@ -23,6 +23,7 @@ /** * @test + * @key headful * @bug 6276087 * @author Romain Guy * @summary Tests opacity of a popup menu. diff --git a/test/javax/swing/PopupFactory/8048506/bug8048506.java b/test/javax/swing/PopupFactory/8048506/bug8048506.java --- a/test/javax/swing/PopupFactory/8048506/bug8048506.java +++ b/test/javax/swing/PopupFactory/8048506/bug8048506.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8048506 * @summary Tests that popup with null-owner does not throw NPE * @author Dmitry Markov diff --git a/test/javax/swing/RepaintManager/IconifyTest/IconifyTest.java b/test/javax/swing/RepaintManager/IconifyTest/IconifyTest.java --- a/test/javax/swing/RepaintManager/IconifyTest/IconifyTest.java +++ b/test/javax/swing/RepaintManager/IconifyTest/IconifyTest.java @@ -22,6 +22,7 @@ */ /* * @test + * @key headful * @bug 4665214 * @summary Makes sure that RepaintManager doesn't attempt to repaint * a frame when it is iconified. diff --git a/test/javax/swing/Security/6657138/ComponentTest.java b/test/javax/swing/Security/6657138/ComponentTest.java --- a/test/javax/swing/Security/6657138/ComponentTest.java +++ b/test/javax/swing/Security/6657138/ComponentTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6657138 * @summary Verifies that buttons and labels work well after the fix for 6657138 * @author Alexander Potochkin diff --git a/test/javax/swing/SwingUtilities/4917669/bug4917669.java b/test/javax/swing/SwingUtilities/4917669/bug4917669.java --- a/test/javax/swing/SwingUtilities/4917669/bug4917669.java +++ b/test/javax/swing/SwingUtilities/4917669/bug4917669.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 4917669 * @summary 1.4 REGRESSION: MenuItem accelerator doesn't work if parent menu is in JDialog * @author Alexander Zuev diff --git a/test/javax/swing/SwingUtilities/7088744/bug7088744.java b/test/javax/swing/SwingUtilities/7088744/bug7088744.java --- a/test/javax/swing/SwingUtilities/7088744/bug7088744.java +++ b/test/javax/swing/SwingUtilities/7088744/bug7088744.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 7088744 - @summary SwingUtilities.isMiddleMouseButton does not work with ALT/Meta keys - @author Pavel Porvatov -*/ +/* + * @test + * @key headful + * @bug 7088744 + * @summary SwingUtilities.isMiddleMouseButton does not work with ALT/Meta keys + * @author Pavel Porvatov + */ import java.awt.Component; import java.awt.Event; diff --git a/test/javax/swing/SwingUtilities/7146377/bug7146377.java b/test/javax/swing/SwingUtilities/7146377/bug7146377.java --- a/test/javax/swing/SwingUtilities/7146377/bug7146377.java +++ b/test/javax/swing/SwingUtilities/7146377/bug7146377.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 7146377 - @summary closed/javax/swing/DataTransfer/4876520/bug4876520.java failed since b08 in jdk 8 - @author Pavel Porvatov -*/ +/* + * @test + * @key headful + * @bug 7146377 + * @summary closed/javax/swing/DataTransfer/4876520/bug4876520.java failed since b08 in jdk 8 + * @author Pavel Porvatov + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java b/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java --- a/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java +++ b/test/javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java @@ -36,6 +36,7 @@ /** * @test + * @key headful * @bug 8015085 8079253 * @summary Shortening via " ... " is broken for Strings containing a combining * diaeresis. diff --git a/test/javax/swing/ToolTipManager/7123767/bug7123767.java b/test/javax/swing/ToolTipManager/7123767/bug7123767.java --- a/test/javax/swing/ToolTipManager/7123767/bug7123767.java +++ b/test/javax/swing/ToolTipManager/7123767/bug7123767.java @@ -21,13 +21,15 @@ * questions. */ -/* @test - @bug 7123767 - @summary Wrong tooltip location in Multi-Monitor configurations - @author Vladislav Karnaukhov - @modules java.desktop/sun.awt - @run main bug7123767 -*/ +/* + * @test + * @key headful + * @bug 7123767 + * @summary Wrong tooltip location in Multi-Monitor configurations + * @author Vladislav Karnaukhov + * @modules java.desktop/sun.awt + * @run main bug7123767 + */ import javax.swing.*; import javax.swing.plaf.metal.MetalLookAndFeel; diff --git a/test/javax/swing/ToolTipManager/Test6256140.java b/test/javax/swing/ToolTipManager/Test6256140.java --- a/test/javax/swing/ToolTipManager/Test6256140.java +++ b/test/javax/swing/ToolTipManager/Test6256140.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6256140 * @summary Esc key doesn't restore old value in JFormattedtextField when ToolTip is set * @author Alexander Potochkin diff --git a/test/javax/swing/dnd/7171812/bug7171812.java b/test/javax/swing/dnd/7171812/bug7171812.java --- a/test/javax/swing/dnd/7171812/bug7171812.java +++ b/test/javax/swing/dnd/7171812/bug7171812.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 7171812 - @summary [macosx] Views keep scrolling back to the drag position after DnD - @author Alexander Zuev - @run main bug7171812 +/* + * @test + * @key headful + * @bug 7171812 + * @summary [macosx] Views keep scrolling back to the drag position after DnD + * @author Alexander Zuev + * @run main bug7171812 */ import java.awt.*; diff --git a/test/javax/swing/plaf/basic/BasicComboPopup/7072653/bug7072653.java b/test/javax/swing/plaf/basic/BasicComboPopup/7072653/bug7072653.java --- a/test/javax/swing/plaf/basic/BasicComboPopup/7072653/bug7072653.java +++ b/test/javax/swing/plaf/basic/BasicComboPopup/7072653/bug7072653.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 7072653 8144161 * @summary JComboBox popup mispositioned if its height exceeds the screen height * @run main bug7072653 diff --git a/test/javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java b/test/javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java --- a/test/javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java +++ b/test/javax/swing/plaf/basic/BasicHTML/4251579/bug4251579.java @@ -24,6 +24,7 @@ /* * @test + * @key headful * @bug 4251579 * @summary Tests if style sheets are working in JLabel * @author Denis Sharypov diff --git a/test/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java b/test/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java --- a/test/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java +++ b/test/javax/swing/plaf/basic/BasicMenuUI/4983388/bug4983388.java @@ -21,14 +21,16 @@ * questions. */ -/* @test - @bug 4983388 8015600 - @summary shortcuts on menus do not work on JDS - @author Oleg Mokhovikov - @library ../../../../regtesthelpers - @build Util - @run main bug4983388 -*/ +/* + * @test + * @key headful + * @bug 4983388 8015600 + * @summary shortcuts on menus do not work on JDS + * @author Oleg Mokhovikov + * @library ../../../../regtesthelpers + * @build Util + * @run main bug4983388 + */ import java.awt.*; import javax.swing.*; diff --git a/test/javax/swing/plaf/basic/BasicRootPaneUI/HiddenDefaultButtonTest.java b/test/javax/swing/plaf/basic/BasicRootPaneUI/HiddenDefaultButtonTest.java --- a/test/javax/swing/plaf/basic/BasicRootPaneUI/HiddenDefaultButtonTest.java +++ b/test/javax/swing/plaf/basic/BasicRootPaneUI/HiddenDefaultButtonTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 6827800 * @summary Test to check hidden default button does not respond to 'Enter' key * @run main HiddenDefaultButtonTest diff --git a/test/javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java b/test/javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java --- a/test/javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java +++ b/test/javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 8001470 - @summary JTextField's size is computed incorrectly when it contains Indic or Thai characters - @author Semyon Sadetsky - */ +/* + * @test + * @key headful + * @bug 8001470 + * @summary JTextField's size is computed incorrectly when it contains Indic or Thai characters + * @author Semyon Sadetsky + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/plaf/basic/BasicTreeUI/8023474/bug8023474.java b/test/javax/swing/plaf/basic/BasicTreeUI/8023474/bug8023474.java --- a/test/javax/swing/plaf/basic/BasicTreeUI/8023474/bug8023474.java +++ b/test/javax/swing/plaf/basic/BasicTreeUI/8023474/bug8023474.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8023474 * @summary Tests that the first mouse press starts editing in JTree * @author Dmitry Markov diff --git a/test/javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java b/test/javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java --- a/test/javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java +++ b/test/javax/swing/plaf/gtk/crash/RenderBadPictureCrash.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8056151 8131751 @summary Switching to GTK L&F on-the-fly leads to X Window System error RenderBadPicture @run main/othervm -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel -Dsun.java2d.xrender=T RenderBadPictureCrash diff --git a/test/javax/swing/plaf/nimbus/8041642/bug8041642.java b/test/javax/swing/plaf/nimbus/8041642/bug8041642.java --- a/test/javax/swing/plaf/nimbus/8041642/bug8041642.java +++ b/test/javax/swing/plaf/nimbus/8041642/bug8041642.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 8041642 8079450 - @summary Incorrect paint of JProgressBar in Nimbus LF - @author Semyon Sadetsky -*/ +/* + * @test + * @key headful + * @bug 8041642 8079450 + * @summary Incorrect paint of JProgressBar in Nimbus LF + * @author Semyon Sadetsky + */ import javax.swing.*; import java.awt.*; diff --git a/test/javax/swing/plaf/nimbus/8041725/bug8041725.java b/test/javax/swing/plaf/nimbus/8041725/bug8041725.java --- a/test/javax/swing/plaf/nimbus/8041725/bug8041725.java +++ b/test/javax/swing/plaf/nimbus/8041725/bug8041725.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 8041725 - @summary JList selection colors are not UIResource instances in Nimbus L&F - @author Anton Litvinov -*/ +/* + * @test + * @key headful + * @bug 8041725 + * @summary JList selection colors are not UIResource instances in Nimbus L&F + * @author Anton Litvinov + */ import java.awt.*; import javax.swing.*; diff --git a/test/javax/swing/plaf/nimbus/Test6919629.java b/test/javax/swing/plaf/nimbus/Test6919629.java --- a/test/javax/swing/plaf/nimbus/Test6919629.java +++ b/test/javax/swing/plaf/nimbus/Test6919629.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 6919629 @summary Tests that components with Nimbus.Overrides are GC'ed properly @author Peter Zhelezniakov diff --git a/test/javax/swing/plaf/synth/7158712/bug7158712.java b/test/javax/swing/plaf/synth/7158712/bug7158712.java --- a/test/javax/swing/plaf/synth/7158712/bug7158712.java +++ b/test/javax/swing/plaf/synth/7158712/bug7158712.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 7158712 @summary Synth Property "ComboBox.popupInsets" is ignored @library ../../../regtesthelpers diff --git a/test/javax/swing/plaf/synth/8040328/bug8040328.java b/test/javax/swing/plaf/synth/8040328/bug8040328.java --- a/test/javax/swing/plaf/synth/8040328/bug8040328.java +++ b/test/javax/swing/plaf/synth/8040328/bug8040328.java @@ -21,11 +21,13 @@ * questions. */ -/* @test +/* + @test + @key headful @bug 8040328 @summary JSlider has wrong preferred size with Synth LAF @author Semyon Sadetsky -*/ + */ import javax.swing.*; import javax.swing.plaf.synth.SynthLookAndFeel; diff --git a/test/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java b/test/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java --- a/test/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java +++ b/test/javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java @@ -22,6 +22,7 @@ */ /** * @test 1.4 08/08/05 + * @key headful * @bug 6276188 * @library ../../../../regtesthelpers * @build Util diff --git a/test/javax/swing/plaf/synth/SynthScrollbarThumbPainter/SynthScrollbarThumbPainterTest.java b/test/javax/swing/plaf/synth/SynthScrollbarThumbPainter/SynthScrollbarThumbPainterTest.java --- a/test/javax/swing/plaf/synth/SynthScrollbarThumbPainter/SynthScrollbarThumbPainterTest.java +++ b/test/javax/swing/plaf/synth/SynthScrollbarThumbPainter/SynthScrollbarThumbPainterTest.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 7172750 * @summary Test to check Synth ScrollBar:ScrollBarThumb[].backgroundPainter is invoked * @run main SynthScrollbarThumbPainterTest diff --git a/test/javax/swing/plaf/synth/Test8015926.java b/test/javax/swing/plaf/synth/Test8015926.java --- a/test/javax/swing/plaf/synth/Test8015926.java +++ b/test/javax/swing/plaf/synth/Test8015926.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8015926 * @summary Tests that there are no NPE during painting * @author Sergey Malenkov diff --git a/test/javax/swing/reliability/TaskUndJFrameProperties.java b/test/javax/swing/reliability/TaskUndJFrameProperties.java --- a/test/javax/swing/reliability/TaskUndJFrameProperties.java +++ b/test/javax/swing/reliability/TaskUndJFrameProperties.java @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Construct a Undecorated JFrame, try to change the properties * using setVisible() method. * @author Aruna Samji diff --git a/test/javax/swing/reliability/TaskZoomJFrameChangeState.java b/test/javax/swing/reliability/TaskZoomJFrameChangeState.java --- a/test/javax/swing/reliability/TaskZoomJFrameChangeState.java +++ b/test/javax/swing/reliability/TaskZoomJFrameChangeState.java @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Construct a JFrame, zoom it from the normal state and back forth * using Frame.ZOOMED and Frame.NORMAL. Iconofy from the zoomed * state and back forth using Frame.ICONIFIED and Frame.NORMAL and diff --git a/test/javax/swing/reliability/TaskZoomJFrameRepaint.java b/test/javax/swing/reliability/TaskZoomJFrameRepaint.java --- a/test/javax/swing/reliability/TaskZoomJFrameRepaint.java +++ b/test/javax/swing/reliability/TaskZoomJFrameRepaint.java @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Construct a jframe with some components and zoom the frame and bring it back to normal state. * @author Aruna Samji * @library ../../../lib/testlibrary diff --git a/test/javax/swing/text/AbstractDocument/6968363/Test6968363.java b/test/javax/swing/text/AbstractDocument/6968363/Test6968363.java --- a/test/javax/swing/text/AbstractDocument/6968363/Test6968363.java +++ b/test/javax/swing/text/AbstractDocument/6968363/Test6968363.java @@ -42,6 +42,7 @@ /* * @test + * @key headful * @bug 6968363 * @summary Ensures that a custom document may not extend AbstractDocument * @author Sergey Malenkov diff --git a/test/javax/swing/text/CSSBorder/6796710/bug6796710.java b/test/javax/swing/text/CSSBorder/6796710/bug6796710.java --- a/test/javax/swing/text/CSSBorder/6796710/bug6796710.java +++ b/test/javax/swing/text/CSSBorder/6796710/bug6796710.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6796710 7124242 * @summary Html content in JEditorPane is overlapping on swing components while resizing the application. * @library ../../../regtesthelpers diff --git a/test/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java b/test/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java --- a/test/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java +++ b/test/javax/swing/text/DefaultEditorKit/4278839/bug4278839.java @@ -21,7 +21,9 @@ * questions. */ -/* @test Jan 16, 2003 +/* + * @test + * @key headful * @bug 4278839 * @summary Incorrect cursor movement between words at the end of line * @author Anton Nashatyrev diff --git a/test/javax/swing/text/DefaultStyledDocument/6636983/bug6636983.java b/test/javax/swing/text/DefaultStyledDocument/6636983/bug6636983.java --- a/test/javax/swing/text/DefaultStyledDocument/6636983/bug6636983.java +++ b/test/javax/swing/text/DefaultStyledDocument/6636983/bug6636983.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6636983 * @summary test that composed text at the line starts is handled correctly * @author Sergey Groznyh diff --git a/test/javax/swing/text/JTextComponent/5074573/bug5074573.java b/test/javax/swing/text/JTextComponent/5074573/bug5074573.java --- a/test/javax/swing/text/JTextComponent/5074573/bug5074573.java +++ b/test/javax/swing/text/JTextComponent/5074573/bug5074573.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 5074573 * @summary tests delte-next-word and delete-prev-word actions for all text compnents and all look&feels * @author Igor Kushnirskiy diff --git a/test/javax/swing/text/NavigationFilter/6735293/bug6735293.java b/test/javax/swing/text/NavigationFilter/6735293/bug6735293.java --- a/test/javax/swing/text/NavigationFilter/6735293/bug6735293.java +++ b/test/javax/swing/text/NavigationFilter/6735293/bug6735293.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 6735293 * @summary javax.swing.text.NavigationFilter.getNextVisualPositionFrom() not always throws BadLocationException * @author Pavel Porvatov diff --git a/test/javax/swing/text/NavigationFilter/8058305/bug8058305.java b/test/javax/swing/text/NavigationFilter/8058305/bug8058305.java --- a/test/javax/swing/text/NavigationFilter/8058305/bug8058305.java +++ b/test/javax/swing/text/NavigationFilter/8058305/bug8058305.java @@ -30,6 +30,7 @@ /* * @test + * @key headful * @bug 8058305 * @summary BadLocationException is not thrown by * javax.swing.text.View.getNextVisualPositionFrom() for invalid positions diff --git a/test/javax/swing/text/TableView/I18nLayoutTest.java b/test/javax/swing/text/TableView/I18nLayoutTest.java --- a/test/javax/swing/text/TableView/I18nLayoutTest.java +++ b/test/javax/swing/text/TableView/I18nLayoutTest.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8133864 * @summary Wrong display, when the document I18n properties is true. * @author Semyon Sadetsky @@ -345,4 +346,4 @@ Specs.add(cellEnd); } } -} \ No newline at end of file +} diff --git a/test/javax/swing/text/Utilities/bug7045593.java b/test/javax/swing/text/Utilities/bug7045593.java --- a/test/javax/swing/text/Utilities/bug7045593.java +++ b/test/javax/swing/text/Utilities/bug7045593.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 7045593 * @summary Possible Regression : JTextfield cursor placement behavior algorithm has changed * @author Pavel Porvatov diff --git a/test/javax/swing/text/View/8014863/bug8014863.java b/test/javax/swing/text/View/8014863/bug8014863.java --- a/test/javax/swing/text/View/8014863/bug8014863.java +++ b/test/javax/swing/text/View/8014863/bug8014863.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 8014863 * @bug 8024395 * @summary Tests the calculation of the line breaks when a text is inserted diff --git a/test/javax/swing/text/View/8048110/bug8048110.java b/test/javax/swing/text/View/8048110/bug8048110.java --- a/test/javax/swing/text/View/8048110/bug8048110.java +++ b/test/javax/swing/text/View/8048110/bug8048110.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8048110 * @summary Using tables in JTextPane leads to infinite loop in FlowLayout.layoutRow * @author Dmitry Markov diff --git a/test/javax/swing/text/html/7189299/bug7189299.java b/test/javax/swing/text/html/7189299/bug7189299.java --- a/test/javax/swing/text/html/7189299/bug7189299.java +++ b/test/javax/swing/text/html/7189299/bug7189299.java @@ -39,6 +39,7 @@ /* * @test + * @key headful * @bug 8008289 * @summary Shared ButtonModel instance should deregister previous listeners. * @author Frank Ding diff --git a/test/javax/swing/text/html/8031109/bug8031109.java b/test/javax/swing/text/html/8031109/bug8031109.java --- a/test/javax/swing/text/html/8031109/bug8031109.java +++ b/test/javax/swing/text/html/8031109/bug8031109.java @@ -31,6 +31,7 @@ import javax.swing.text.EditorKit; /* * @test + * @key headful * @bug 8031109 * @author Victor Dyakov * @summary Rendering HTML code in JEditorPane throws NumberFormatException diff --git a/test/javax/swing/text/html/8034955/bug8034955.java b/test/javax/swing/text/html/8034955/bug8034955.java --- a/test/javax/swing/text/html/8034955/bug8034955.java +++ b/test/javax/swing/text/html/8034955/bug8034955.java @@ -27,6 +27,7 @@ /** * @test + * @key headful * @bug 8034955 * @author Alexander Scherbatiy * @summary JLabel/JToolTip throw ClassCastException for "a" diff --git a/test/javax/swing/text/html/CSS/4530474/bug4530474.java b/test/javax/swing/text/html/CSS/4530474/bug4530474.java --- a/test/javax/swing/text/html/CSS/4530474/bug4530474.java +++ b/test/javax/swing/text/html/CSS/4530474/bug4530474.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 4530474 * @summary Tests if background-color CSS attribute in HTML font tag in class attribute * @author Denis Sharypov diff --git a/test/javax/swing/text/html/HTMLDocument/8058120/bug8058120.java b/test/javax/swing/text/html/HTMLDocument/8058120/bug8058120.java --- a/test/javax/swing/text/html/HTMLDocument/8058120/bug8058120.java +++ b/test/javax/swing/text/html/HTMLDocument/8058120/bug8058120.java @@ -22,6 +22,7 @@ */ /* @test + * @key headful * @bug 8058120 * @summary Rendering / caret errors with HTMLDocument * @author Dmitry Markov diff --git a/test/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java b/test/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java --- a/test/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java +++ b/test/javax/swing/text/html/HTMLEditorKit/4242228/bug4242228.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 4242228 - @summary Tests that HTMLEditorKit.setText() doesn't throw exceptions - @author Peter Zhelezniakov -*/ +/* + * @test + * @key headful + * @bug 4242228 + * @summary Tests that HTMLEditorKit.setText() doesn't throw exceptions + * @author Peter Zhelezniakov + */ import javax.swing.*; import javax.swing.event.ChangeEvent; diff --git a/test/javax/swing/text/html/HTMLEditorKit/5043626/bug5043626.java b/test/javax/swing/text/html/HTMLEditorKit/5043626/bug5043626.java --- a/test/javax/swing/text/html/HTMLEditorKit/5043626/bug5043626.java +++ b/test/javax/swing/text/html/HTMLEditorKit/5043626/bug5043626.java @@ -23,6 +23,7 @@ /* * @test + * @key headful * @bug 5043626 * @summary Tests pressing Home or Ctrl+Home set cursor to invisible element <head> * @author Alexander Potochkin diff --git a/test/javax/swing/text/rtf/RTFWriteParagraphAlignTest.java b/test/javax/swing/text/rtf/RTFWriteParagraphAlignTest.java --- a/test/javax/swing/text/rtf/RTFWriteParagraphAlignTest.java +++ b/test/javax/swing/text/rtf/RTFWriteParagraphAlignTest.java @@ -21,11 +21,13 @@ * questions. */ -/* @test - @bug 8139215 - @summary RTFEditorKit does not save alignment - @author Semyon Sadetsky - */ +/* + * @test + * @key headful + * @bug 8139215 + * @summary RTFEditorKit does not save alignment + * @author Semyon Sadetsky + */ import javax.swing.*; import javax.swing.text.*; diff --git a/test/sun/awt/dnd/8024061/bug8024061.java b/test/sun/awt/dnd/8024061/bug8024061.java --- a/test/sun/awt/dnd/8024061/bug8024061.java +++ b/test/sun/awt/dnd/8024061/bug8024061.java @@ -21,7 +21,9 @@ * questions. */ -/* @test +/* + * @test + * @key headful * @bug 8024061 * @summary Checks that no exception is thrown if dragGestureRecognized * takes a while to complete. diff --git a/test/sun/java2d/ClassCastExceptionForInvalidSurface.java b/test/sun/java2d/ClassCastExceptionForInvalidSurface.java --- a/test/sun/java2d/ClassCastExceptionForInvalidSurface.java +++ b/test/sun/java2d/ClassCastExceptionForInvalidSurface.java @@ -40,6 +40,7 @@ /** * @test + * @key headful * @bug 8158072 7172749 */ public final class ClassCastExceptionForInvalidSurface { diff --git a/test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/SourceClippingBlitTest.java b/test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/SourceClippingBlitTest.java --- a/test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/SourceClippingBlitTest.java +++ b/test/sun/java2d/SunGraphics2D/SourceClippingBlitTest/SourceClippingBlitTest.java @@ -23,6 +23,7 @@ /* @test + @key headful @bug 6244574 @bug 6258142 @bug 6395165 diff --git a/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh b/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh --- a/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh +++ b/test/sun/java2d/X11SurfaceData/SharedMemoryPixmapsTest/SharedMemoryPixmapsTest.sh @@ -23,6 +23,7 @@ # # @test +# @key headful # @bug 6363434 6588884 # @summary Verify that shared memory pixmaps are not broken # by filling a VolatileImage with red color and copying it