This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15299

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
Similar Threads
how to create windows like posit notes?
maximizing a JInternalFrame
can you resolve these questions?Thanks.
Switching between Frame A & B
Is it possible in Swing to dock 2 windows?