Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Swing / AWT / SWT and the fly likes how to restore jinternalframe to its normal state Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to restore jinternalframe to its normal state" Watch "how to restore jinternalframe to its normal state" New topic

how to restore jinternalframe to its normal state

narayana murthy pedapudi
Ranch Hand

Joined: Jul 23, 2003
Posts: 42
In my project i have used setExtendedState(JFrame.Normal) to get the jframe to its normal state which works very much fine. I would like to do the same for JInternalFrame. Is there any method to do so.
Plz let me know..
Thanks and Regards
Narayana Murthy
Jose Botella
Ranch Hand

Joined: Jul 03, 2001
Posts: 2120
this works ok

SCJP2. Please Indent your code using UBB Code
Ameer Tamboli

Joined: Oct 10, 2002
Posts: 2
It works, but it requires two clicks to iconify the window again.
The solution worked for me is:


Speeding has never killed anybody, what kills you is suddenly becoming stationary.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 41640
Welcome to JavaRanch Ameer Tamboli
It is sorta covered in the JavaRanch Style Guide.
subject: how to restore jinternalframe to its normal state