jQuery in Action, 3rd edition
The moose likes Swing / AWT / SWT and the fly likes Query on DialogBox ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Query on DialogBox ??" Watch "Query on DialogBox ??" New topic

Query on DialogBox ??

Bikash Paul
Ranch Hand

Joined: Dec 04, 2001
Posts: 342
Hi all friends,
I want to show Dialog from swing interface one by one in loop after some work completion i want that first dialog should close automatically when next Dialog pop up.Can any one plz guide me how i can do that.Now Iam showing Dialog through below code:-
JOptionPane.showMessageDialog(jframe,"Work Completed", "Confirmation Message",JOptionPane.INFORMATION_MESSAGE);
Plz help me
Thanks and Regards
Chris Shepherd
Ranch Hand

Joined: Jun 27, 2000
Posts: 286
If you are just trying to show progress in a task that is going on, check out the links I posted here about ProgressMonitor and ProgressBar. It lets you change messages as certain events occur in your process. That lets you keep your user informed of whats going on without all the extra self closing dialog boxes it sounds like you are trying to use now.
I agree. Here's the link: http://aspose.com/file-tools
subject: Query on DialogBox ??
It's not a secret anymore!