Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Window Cascading problem  RSS feed

 
narayana murthy pedapudi
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am writing a MDI application, i can't use JDesktoppane and JInternalFrame for this.
What my application exactly is...
it displays graphs everytime in a new Frame...
i want to use window cascading, tile vertical or tile horizontal...
how to arrange all these frames ....
please don't ask me use JInternalFrames...
plese let me know answer for this...
bye
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see why you wouldn't use JInternalFrames for this, but you could use multiple JFrames. Just have them all launched from a common class that handles how they are layed out through setBounds() calls. You can also attach ComponentListeners to the JFrames if you want them to move in relation to each other... have the componentMoved() method call something in the common control class that moves the other frames relative to the one that actually moved.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!