Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could you please help me with this ?!!!

 
sandhya raviprasad
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I've designed a bean and it is inside an applet.The bean comprises of a JScrollPane which has a JTable in it. The bean also has some buttons and labels in it. My problem is when I resize the bean, only the buttons and labels are getting resized, but the JTable and JscrollPane don't get resized properly. Could anyone help me with this?!!
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So now I am dying to know how to fix this (you really have been asking nicely - I just don't know the answer).
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I think you problem is related to one of two things.
1. Layout of your bean. If it has a BorderLayout or GridLayout then it should resize.
2. Layout of your applet. If your applet layout is not set then the default is flowLayout which doesn't resize on its own.
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic