Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
How can I add word wrap to my TextArea, in Java?
I want to add word wrap to my TextArea but the problem is that I want to keep it the size of my window. The method 'setLineWrap()' does not work with the TextArea, only with the JTextArea. How can I accomplish what I want?
2 Answers
- 9 years agoFavorite Answer
Simply add TextArea.SCROLLBARS_VERTICAL_ONLY as a parameter when initializing the TextArea.
Source(s): http://www.devx.com/tips/Tip/5639 - hammanLv 44 years ago
whats up, wanna play considered one of my songs? - the drummer Am I loss of life or is it my birthday? - lady Nancy Langhorne No - Alexander Bell (reaction to do no longer go away me) You too, Brutus? - Julius Ceasar Why no longer, it belongs to him - Charlie Chaplin (reaction to would God have mercy on your soul) this is totally appealing over there - Edison God rattling the completed f**kinfolk' international and anybody in it yet you, Carlotta. - W.C. Fields final words are for fools who have not stated sufficient - Marx Drink to me! - Picasso I surely have a superb headache - FD Roosevelt bypass away! i'm o.k.! - H.G. Wells