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.