• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to autosize the components.

 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to autosize the components of the JFrame.i.ethe size of the components like a textfield,textarea,Label,etc should get adjusted automatically to the size of the Jframe.
Whenever the JFrame is resized, the components should automatically fit to it,just like autofit in VisualBasic.Some applications in windows can be noticed,the textfields & other components adjust themselves to the size of the window.Please reply me as soon as possible.
Happy middling with java.
Netharam
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Think about layout managers!
This might help ...
Using Layout Managers
Regards,
Manfred.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!