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
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
