This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes problem with layout container for laying out iconified internal frame Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "problem with layout container for laying out iconified internal frame" Watch "problem with layout container for laying out iconified internal frame" New topic
Author

problem with layout container for laying out iconified internal frame

Chichi Gautam
Greenhorn

Joined: Jun 12, 2006
Posts: 5
I am having a JPanel that impelements a Layout Manager.
In this I am having few JInternalFrames
for ex following actions are taken::
-- I iconify an Internal frame
-- resize the main frame containing the panel,and thus resize the panel
-- deiconify the frame
-- again iconify the same frame...(sorry if this is confusing )

Here the frame gets Iconified in its previous iconified location.
Where as I want it to be iconified at the bottom of the panel
everytime i resize the panel.

Is it that while the Internal Frame is iconified
it doesn't listen to the layout container
or some thing different..


Please do help me JavaRanchers.
Thanks in advance.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32654
    
    4
Internal frames inside a JPanel?
I thought you were supposed to put internal frames inside a JDesktopPane?

Can you use an InternalFrameListener to reposition the iconified internal frames?

I don't know I have never tried.

CR
Chichi Gautam
Greenhorn

Joined: Jun 12, 2006
Posts: 5
yes !
I have added JInternalFrames to panel...

with the above problem,
I am also having problem with placing the InternalFrame to front.
Can anyone help plzz
thanks.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: problem with layout container for laying out iconified internal frame
 
Similar Threads
AWT
JInternalFrame iconifying size
Closing JInternalFrame
Internal Frames
Automatic resizing of table cells