This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
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
It's not a secret anymore!