This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JInternalFrame in JDesktopPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JInternalFrame in JDesktopPane" Watch "JInternalFrame in JDesktopPane" New topic
Author

JInternalFrame in JDesktopPane

NIKHIL EROS
Greenhorn

Joined: Sep 21, 2001
Posts: 17
I am using JDesktopPane and JInternalFrame. I have set the layout of JDesktopPane to an instance of FlowLayout.
The problem is when i minimize or iconize my JInternalFrames, they get scattered all over the desktop area, i want they should come minimized at the bottom of JDesktopPane, instead of all over the JDesktopPane, as they should ideally be !!
please suggest me what should i do??
thanks in advance.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302
    
    6

Try setting your layout to null and see what happens.

------------------
Happy Coding,
Gregg Bolinger


GenRocket - Experts at Building Test Data
 
Have you checked out Aspose?
 
subject: JInternalFrame in JDesktopPane
 
It's not a secret anymore!