Dialaog as thread
1 posts in topic
Flat View  Flat View

Posted By:   Alif_Aloui
Posted On:   Friday, October 4, 2002 01:55 AM

Hello, I'm trying to start a jDialog as a thread, does somebody has codesamples how to do it.
thanks in advance

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

What do you mean with "jDialog as a thread"?

... something like this?:

new Thread() {
public void run() {
MyDialog dlg = new MyDialog(...);
dlg.show(); // blocks if dialog is modal

Btw: You don't need a separate thread for non-modal dialogs.

Regards, Mike

About | Sitemap | Contact