Close
jGuru Forums
Posted By: Alif_Aloui Posted On: Friday, October 4, 2002 01:55 AM
Please use html tags to format code blocks.
Re: Dialaog as thread
Posted By: Mike_Friedrich Posted On: Saturday, October 5, 2002 10:32 AM
... something like this?:new Thread() { public void run() { MyDialog dlg = new MyDialog(...); dlg.setModal(false); dlg.show(); // blocks if dialog is modal }}.start();Btw: You don't need a separate thread for non-modal dialogs.
new Thread() { public void run() { MyDialog dlg = new MyDialog(...); dlg.setModal(false); dlg.show(); // blocks if dialog is modal }}.start();
Regards, Mike