@@ -875,13 +875,14 @@ public void show() {
875875 child .showWithParent = false ;
876876 } // endif
877877 } // endfor
878- if (!isModalBlocked ()) {
879- updateChildrenBlocking ();
880- } else {
881- // fix for 6532736: after this window is shown, its blocker
882- // should be raised to front
883- modalBlocker .toFront_NoClientCode ();
884- }
878+ // if (!isModalBlocked()) {
879+ // updateChildrenBlocking();
880+ // } else
881+ // {
882+ // // fix for 6532736: after this window is shown, its blocker
883+ // // should be raised to front
884+ // modalBlocker.toFront_NoClientCode();
885+ // }
885886 if (this instanceof Frame || this instanceof Dialog ) {
886887 updateChildFocusableWindowState (this );
887888 }
@@ -997,7 +998,9 @@ void doDispose() {
997998 @ Override
998999 public void run () {
9991000
1001+ // Though Window is not a JComponent, we still treat it as such.
10001002 ((JComponent ) me ).getUI ().uninstallUI (null );
1003+ ((JComponent ) me ).getUI ().uninstallJS ();
10011004
10021005 // Check if this window is the fullscreen window for the
10031006 // device. Exit the fullscreen mode prior to disposing
@@ -1540,7 +1543,7 @@ boolean isModalExcluded(Dialog.ModalExclusionType exclusionType) {
15401543 return (owner != null ) && owner .isModalExcluded (exclusionType );
15411544 }
15421545
1543- void updateChildrenBlocking () {
1546+ // void updateChildrenBlocking() {
15441547// Vector<Window> childHierarchy = new Vector<Window>();
15451548// Window[] ownedWindows = getOwnedWindows();
15461549// for (int i = 0; i < ownedWindows.length; i++) {
@@ -1562,7 +1565,7 @@ void updateChildrenBlocking() {
15621565// }
15631566// k++;
15641567// }
1565- }
1568+ // }
15661569
15671570 /**
15681571 * Adds the specified window listener to receive window events from
0 commit comments