src/windows/classes/sun/awt/windows/WEmbeddedFrame.java

Print this page

        

*** 224,242 **** */ public void activateEmbeddingTopLevel() { } @SuppressWarnings("deprecation") ! public void synthesizeWindowActivation(final boolean doActivate) { ! if (!doActivate || EventQueue.isDispatchThread()) { ! ((WEmbeddedFramePeer)getPeer()).synthesizeWmActivate(doActivate); } else { // To avoid focus concurrence b/w IE and EmbeddedFrame // activation is postponed by means of posting it to EDT. EventQueue.invokeLater(new Runnable() { public void run() { ! ((WEmbeddedFramePeer)getPeer()).synthesizeWmActivate(true); } }); } } --- 224,242 ---- */ public void activateEmbeddingTopLevel() { } @SuppressWarnings("deprecation") ! public void synthesizeWindowActivation(final boolean activate) { ! if (!activate || EventQueue.isDispatchThread()) { ! ((WFramePeer)getPeer()).emulateActivation(activate); } else { // To avoid focus concurrence b/w IE and EmbeddedFrame // activation is postponed by means of posting it to EDT. EventQueue.invokeLater(new Runnable() { public void run() { ! ((WFramePeer)getPeer()).emulateActivation(true); } }); } }