Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with layout container for laying out iconified internal frame  RSS feed

 
Chichi Gautam
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55292
156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!