Lines Matching refs:Frame
27 @summary A Frame changing its state from ICONIFIED to NORMAL should regain focus.
38 static final Frame frame = new Frame("Frame");
56 if (!Toolkit.getDefaultToolkit().isFrameStateSupported(Frame.ICONIFIED) ||
57 !Toolkit.getDefaultToolkit().isFrameStateSupported(Frame.NORMAL))
59 System.out.println("Frame.ICONIFIED or Frame.NORMAL state is unsupported.");
75 throw new Error("Test error: couldn't focus the Frame.");
83 frame.setExtendedState(Frame.ICONIFIED);
87 frame.setExtendedState(Frame.NORMAL);
92 throw new TestFailedException("the Frame didn't regain focus after restoring!");