This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes preserving_newline Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "preserving_newline" Watch "preserving_newline" New topic
Author

preserving_newline

Lars Val
Greenhorn

Joined: Apr 02, 2004
Posts: 5
I just found out that calling JTextArea.getText() seems to truncate the string if it contains a newline. How do I work around this?

regards
/lars
Lars Val
Greenhorn

Joined: Apr 02, 2004
Posts: 5
HORRIBLY HORRIBLY wrong. I obviously need a break.

/lars
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: preserving_newline
 
Similar Threads
Cant use object from another class
Posting to bump up my count...
WA #1.....word association
The x900 effect ?
Text box value is not being completely filled with request attribute