< prev index next >
src/java.desktop/windows/classes/sun/awt/windows/WPrintDialogPeer.java
Print this page
@@ -30,11 +30,10 @@
import java.awt.peer.ComponentPeer;
import java.awt.dnd.DropTarget;
import java.util.Vector;
import sun.awt.CausedFocusEvent;
import sun.awt.AWTAccessor;
-import sun.misc.ManagedLocalsThread;
class WPrintDialogPeer extends WWindowPeer implements DialogPeer {
static {
initIDs();
@@ -76,11 +75,11 @@
// 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).setVisible(false);
};
- new ManagedLocalsThread(runnable).start();
+ new Thread(null, runnable, "PrintDialog", 0, false).start();
}
synchronized void setHWnd(long hwnd) {
this.hwnd = hwnd;
for (WWindowPeer window : blockedWindows) {
< prev index next >