Re: New line in a JTextArea (student learning here)
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Jan 2007 11:55:02 -0800
Sandy wrote:
How does one append to a JTextArea in such a way to tell it that you want this on a new line?
Thanks.
JTextArea ta = new JTextArea();
ta.append("I want a new line at the end\n");
--
Knute Johnson
email s/nospam/knute/
.
- Follow-Ups:
- References:
- New line in a JTextArea (student learning here)
- From: Sandy
- New line in a JTextArea (student learning here)
- Prev by Date: Re: Brand new to Java student
- Next by Date: Re: How do you execute a JAR file?
- Previous by thread: New line in a JTextArea (student learning here)
- Next by thread: Re: New line in a JTextArea (student learning here)
- Index(es):