• Post Reply Bookmark Topic Watch Topic
  • New Topic

JInternalFrame Behaviour  RSS feed

 
henri henri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am at my wit's end. I have tried everything to get my JInternalFrame to fill out a JDesktopPane. My layout doesn't seem stable and things seem to keep shifting. I keep having to recalculate the width and height and change it to suit the mood of my layout. Does anyone with this kind of experience know how to make a JInternalFrame fill out the dimensions of a JDesktopPane?

http://www.pollscanada.com/screenshot.html
 
Greg Fidster
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have you tried:
 
henri henri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am so sorry to get back to you so late. I tired your code and it does work however, I lose those lovely refined Swing borders around the JInternalFrame. I get a thick blue line around the whole frame.
With patience, I have managed to stabilize my layout and everything
is very snappy now, I will keep your code for future reference.

Thank you so much. and sorry for the late response.

http://www.pollscanada.com/screenshot.html
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!