Lines Matching refs:window
27 * @summary Tests that override redirect window gets activated on click.
43 private static Window window;
84 if (!window.isFocused()) {
85 throw new RuntimeException("Test failed: the window couldn't be activated by click!");
98 window.setFocusableWindowState(false);
104 if (window.isFocused()) {
105 throw new RuntimeException("Test failed: unfocusable window got activated by click!");
114 window = new Window(frame);
118 window.setBounds(800, 200, 300, 100);
119 window.setLayout(new FlowLayout());
120 window.add(wbutton);
121 window.add(label);
122 window.setVisible(true);