File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 35

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: 4522
    
    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.
 
Similar Threads
Query on DialogBox ??
CheckBox state
af:popup, if use panelWindow, the main page will not be inactived, how could make it inactive
Modal dialog box and request focus
JQuery Dialog Box Positioning and Replacing X with Close