Results 1 to 3 of 3
Thread: TextArea Bug?
- 12-06-2007, 12:59 PM #1
Member
- Join Date
- Dec 2007
- Posts
- 15
- Rep Power
- 0
TextArea Bug?
Whenever I size a textarea, the text does not display when I use either setText or append. This only happens when I specify the size of the textarea.
^ Code is something like that. Its suppose to display "Hello", but since I had specify the size, it wont display.JTextArea t = new JTextArea(50,50);
t.append("Hello");
Why is it like that? Is there a way to display it with a specified size for the textarea?
- 12-06-2007, 07:16 PM #2
Put your textArea inside a JScrollPane so it can be displayed at the size you specify.
- 12-07-2007, 12:37 PM #3
Member
- Join Date
- Dec 2007
- Posts
- 15
- Rep Power
- 0
Similar Threads
-
TextArea with Unicode
By Java Tip in forum javax.swingReplies: 0Last Post: 04-16-2008, 10:53 PM -
How to get the position of character in TextArea
By loganathan.lakshmanan in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 01-19-2008, 12:06 AM -
Append text inputed in the textfield into a TextArea
By romina in forum AWT / SwingReplies: 1Last Post: 08-07-2007, 05:35 AM -
problems when I print in textarea
By gabriel in forum New To JavaReplies: 1Last Post: 07-26-2007, 06:57 PM -
textarea
By ubuntu in forum AWT / SwingReplies: 4Last Post: 05-12-2007, 09:54 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks