src/share/classes/java/awt/Window.java

Print this page

        

@@ -1094,10 +1094,11 @@
         }
         if (isModalBlocked()) {
             modalBlocker.unblockWindow(this);
         }
         super.hide();
+        locationByPlatform = false;
     }
 
     final void clearMostRecentFocusOwnerOnHide() {
         /* do nothing */
     }