JTextArea newline problem

ok I'm trying to get text from a JTextrea into a Microsoft Access database through the JDBC-ODBC driver.

the problem is if I have multiple lines of text in a JTextArea, how do I save them to a plain string. I was thinking maybe converting the CR or CR+LF whatever it is to a '\n', or if there's a better way that'd be great.

thanks,

Adam

[367 byte] By [alukaitisa] at [2007-9-29 4:27:22]
# 1
Try the Swing forum...
rkippena at 2007-7-14 17:48:41 > top of Java-index,Other Topics,Algorithms...