--- old/src/windows/classes/sun/awt/windows/WPageDialogPeer.java 2011-12-08 12:47:41.543441200 +0400 +++ new/src/windows/classes/sun/awt/windows/WPageDialogPeer.java 2011-12-08 12:47:41.009873500 +0400 @@ -49,7 +49,7 @@ // 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(); }