Re: New line in a JTextArea (student learning here)
- From: "Sandy" <sandy@xxxxxxxxxxxxxx>
- Date: 28 Jan 2007 11:57:55 -0800
On Jan 28, 2:55 pm, Knute Johnson <nos...@xxxxxxxxxxxxxxxxxxxxxxx>
wrote:
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/
Thanks. Makes perfect sense, just like a console app with C or C++.
(Don't know why I didn't think of that! DOH!)
.
- Follow-Ups:
- Re: New line in a JTextArea (student learning here)
- From: Farcus Pottysqirt
- Re: New line in a JTextArea (student learning here)
- References:
- New line in a JTextArea (student learning here)
- From: Sandy
- Re: New line in a JTextArea (student learning here)
- From: Knute Johnson
- New line in a JTextArea (student learning here)
- Prev by Date: Re: How do you execute a JAR file?
- Next by Date: Re: Brand new to Java student
- Previous by thread: Re: New line in a JTextArea (student learning here)
- Next by thread: Re: New line in a JTextArea (student learning here)
- Index(es):
Relevant Pages
|
|