• Post Reply Bookmark Topic Watch Topic
  • New Topic

Internal Frames

 
mitesh mehta
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having two Internal frames lying on a desktop pane-one horizontal and the other vertical occupying the whole desktop pane.
I want to resize my other internal frame while changing one Internal frames instead of overlapping the Internal frame.
Can any one help.
Thanks
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The description is confusing, but it sounds like what you want to do is have one frame resize in response to another...

you should attach a ComponentListener to the frames... it has componentResized() and componentMoved() methods that you can use to resize or move the other internal frame in response to moving or resizing the one the ComponentListener is attached to.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!