• Post Reply Bookmark Topic Watch Topic
  • New Topic

Adjusting textarea size to window  RSS feed

 
Adam Blais
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you make a text area that automatically adjusts to it's panels size? Output is my text area and center is my panel.

I tried output.setBounds(center.getBounds()); and output.setBorder(center.getBorder()) but neither worked for me.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!