Board index » jbuilder » Jdialog in JBuilder
Jdialog in JBuilder
2003-06-27 05:40:31 PM
I am making a plugin for Jbuilder, where I pop up a Jdialog as a status window(non modal), and dispose it when the process is over, the problem is that JDialog doesnot paint its components, basically it's just a JLabel, but if I make JDialog as modal it shows, but I need to close it to go ahead, I just need a self closing JDialog. I tried using a separate thread and then interrupting it, to Dispose the dialog, but nothing is working. It shows the Thread as being active but won't interrupt it. StatusDialog is a simple status dialog box..
Here is the code..
statusMsg = "Trying to do something...";
statusDialog = new StatusDialog(Browser.getActiveBrowser(), "Process Progress", false, statusMsg);
// Do some processing
Any idea?? What am I doing wrong here??