Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JInternalFrame in JDesktopPane  RSS feed

 
NIKHIL EROS
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try setting your layout to null and see what happens.

------------------
Happy Coding,
Gregg Bolinger
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!