Lines Matching refs:we

132     private void restoreFocus(WindowEvent we) {
138 } else if (we.getOppositeWindow() != null &&
139 restoreFocus(we.getOppositeWindow(), null, false))
290 WindowEvent we = (WindowEvent)e;
292 Window newFocusedWindow = we.getWindow();
301 // we can not accept focus on such window, so reject it.
302 restoreFocus(we);
321 // events, we need to synthesize one if the active Window
334 restoreFocus(we);
344 restoreFocus(we);
353 // focused Window in case we are no longer the focused Window
359 // * If we're in SendMessage, then this is a synthetic
374 // may cause deadlock, thus we don't synchronize this block.
406 if (realOppositeWindow != we.getOppositeWindow()) {
407 we = new WindowEvent(newFocusedWindow,
411 return typeAheadAssertions(newFocusedWindow, we);
415 WindowEvent we = (WindowEvent)e;
417 Window newActiveWindow = we.getWindow();
449 return typeAheadAssertions(newActiveWindow, we);
518 // we should not accept focus on such component, so reject it.
523 // case we have to try to restore focus in the current focused
582 // If we make a mistake because of retargeting, then the
625 WindowEvent we = (WindowEvent)e;
644 we.setSource(currentActiveWindow);
645 return typeAheadAssertions(currentActiveWindow, we);
649 WindowEvent we = (WindowEvent)e;
651 Window losingFocusWindow = we.getWindow();
653 Window oppositeWindow = we.getOppositeWindow();
701 we.setSource(currentFocusedWindow);
705 typeAheadAssertions(currentFocusedWindow, we);
708 // Then we need to deactive the active Window as well.
911 // Component in a row and when we lost some of the
913 // not be generated for these additional requests, we
941 // released because of the FOCUS_GAINED event so that we don't
996 * If it is active we should redispatch key events after
997 * we detected its correct target.