Lines Matching refs:newFocusedWindow
117 private void restoreFocus(FocusEvent fe, Window newFocusedWindow) {
121 if (newFocusedWindow != null && restoreFocus(newFocusedWindow,
292 Window newFocusedWindow = we.getWindow();
293 if (newFocusedWindow == oldFocusedWindow) {
297 if (!(newFocusedWindow.isFocusableWindow()
298 && newFocusedWindow.isVisible()
299 && newFocusedWindow.isDisplayable()))
312 newFocusedWindow));
324 getOwningFrameDialog(newFocusedWindow);
339 setGlobalFocusedWindow(newFocusedWindow);
341 if (newFocusedWindow != getGlobalFocusedWindow()) {
343 // newFocusedWindow is not a focusable Window.
376 getMostRecentFocusOwner(newFocusedWindow);
378 newFocusedWindow.isFocusableWindow())
380 toFocus = newFocusedWindow.getFocusTraversalPolicy().
381 getInitialComponent(newFocusedWindow);
385 tempLost = newFocusedWindow.setTemporaryLostComponent(null);
407 we = new WindowEvent(newFocusedWindow,
411 return typeAheadAssertions(newFocusedWindow, we);
491 final Window newFocusedWindow = SunToolkit.getContainingWindow(newFocusOwner);
493 if (newFocusedWindow != null &&
494 newFocusedWindow != currentFocusedWindow)
496 sendMessage(newFocusedWindow,
497 new WindowEvent(newFocusedWindow,
500 if (newFocusedWindow != getGlobalFocusedWindow()) {
502 // newFocusedWindow is not a focusable Window.
525 if (newFocusedWindow == null) {
528 restoreFocus(fe, newFocusedWindow);
541 restoreFocus(fe, (Window)newFocusedWindow);
553 restoreFocus(fe, (Window)newFocusedWindow);