File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

JInternalFrame in JDesktopPane


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

Try setting your layout to null and see what happens.

Happy Coding,
Gregg Bolinger

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: JInternalFrame in JDesktopPane
It's not a secret anymore!