aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes JInternalFrame immediate closing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JInternalFrame immediate closing" Watch "JInternalFrame immediate closing" New topic

JInternalFrame immediate closing

narayana murthy pedapudi
Ranch Hand

Joined: Jul 23, 2003
Posts: 42
I am developing an MDI application, so many JInternalFrmaes and each internalframe has some components on it.when i close that internalframe it is taking 20 seconds minimum to close(may be repainting slowly).
can any one help to close this immeidiately when i click close button.


Narayana Murthy
deshdeep divakar
Ranch Hand

Joined: Apr 19, 2004
Posts: 91
Have U included System.exit(0) statement in ur code

"Do not be afraid of going slow, be afraid of standing still"
narayana murthy pedapudi
Ranch Hand

Joined: Jul 23, 2003
Posts: 42
I think it has nothing to do with System.exit(0);.....

I am able to close the jinternalframe ...but it is taking 20 seconds(May be repainting slowly).

I want to close it immediately when i click on close button.
I agree. Here's the link:
subject: JInternalFrame immediate closing
Similar Threads
How to bring user back to the internalframe after JOptionPane?
Ugly white space around ImageIcons placed on JInternalFrame Title Bar
JInternalFrame vs JDialog
How to invoke a JInternal Frame from a button?
Stopping an InternalFrame from closing