dcsimg
JTextArea complete on screen
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ivan_Villanueva
Posted On:   Thursday, April 25, 2002 12:35 AM

How to resize a JTextArea automatically to show allways the whole text?

Re: JTextArea complete on screen

Posted By:   Ade_Tucker  
Posted On:   Thursday, April 25, 2002 01:46 AM

Not a specific answer but not sure it's groovy to have an arbitrarily sized component expanding and shrinking; if you intend to introduce bounds, why not design for them?

Set line wrapping to true and/or stick it in a JScrollPane. This is in keeping with the layout manager idea.
About | Sitemap | Contact