Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query on DialogBox ??

 
Bikash Paul
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bikash
 
Chris Shepherd
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
HTH
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic