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

Print this page

        

@@ -47,10 +47,10 @@
                     } catch (Exception e) {
                      // No exception should be thrown by native dialog code,
                      // but if it is we need to trap it so the thread does
                      // not hide is called and the thread doesn't hang.
                     }
-                    ((WPrintDialog)target).hide();
+                    ((WPrintDialog)target).setVisible(false);
                 }
             }).start();
     }
 }