Top.Mail.Ru
October 9th, 2007 - Java developers — LiveJournal
? ?

Java developers

October 9th, 2007
Image

01:04 pm - Imageska_o - Ignoring carriage returns in JTextArea

Hi,

Is there a simple way to do something with a JTextArea class so that it ignores the carriage returns?  They are not allowed in the input text, and simply ignoring them (maybe with a tooltip explanation) would be better than popping up an error message afterwards.

Thanks in advance
Powered by LiveJournal.com
Image