aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to create dialog box in swing that will close automatically after some time. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to create dialog box in swing that will close automatically after some time." Watch "how to create dialog box in swing that will close automatically after some time." New topic
Author

how to create dialog box in swing that will close automatically after some time.

phooton misra
Ranch Hand

Joined: Jul 31, 2012
Posts: 47

somebody ,please suggest me how to create dialog box in swing that will close automatically after some time?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4658
    
    5

Before showing the dialog, start a Swing Timer that calls dispose() or setVisible(false) from it's actionPerformed(...).


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to create dialog box in swing that will close automatically after some time.