How to remove the blank lines at the end of the JTextArea .
796586Apr 5 2010 — edited Apr 6 2010Hi,
I need to remove the blank lines in the JTextArea at the end. Suppose i am giving 'A' in the first line and press the enter key two times, after i am giving the 'B' in the third line and press enter key for two times. I need to remove, the last two lines of JTextAreae, . How i can remove these lines?