Lines Matching defs:windows
27 @summary Tests that non-focusable windows doesn't generate any focus events when accessed.
44 static Window[] windows;
81 windows = new Window[7];
82 windows[0] = new TestWindow(0, 0, false, main_frame);
83 //windows[1] = new TestWindow(2, 1, true, main_frame);
84 windows[2] = new NoEventsTest(1, 0, false, true);
85 windows[3] = new NoEventsTest(2, 0, false, false);
86 //windows[4] = new Test(3, 0, true, true);
87 windows[5] = new TestDialog(0, 1, false, true, main_frame);
88 windows[6] = new TestDialog(1, 1, false, false, main_frame);
91 for (windowInd = 0; windowInd < windows.length; windowInd++) {
92 if (windows[windowInd] != null) {
93 windows[windowInd].setVisible(true);
102 for (windowInd = 0; windowInd < windows.length; windowInd++) {
103 if (windows[windowInd] != null) {
104 windows[windowInd].setVisible(true);
109 performFocusClick(windows[windowInd]);
112 performActionClick(windows[windowInd]);
121 windows[windowInd].toBack();
123 windows[windowInd].toFront();
129 if (windows[windowInd] instanceof Frame) {
130 Frame toTest = (Frame)windows[windowInd];
141 windows[windowInd].dispose();