i have a JTextArea ta; in a JFrame class and i have implemented
TextListener
how to addTextListener to the JTextArea
ta.addTextListener();
ta.addTextListener(this);
these two is coming errors.....
i dont know how to give...
thank you...
Well for starters. There is no such thing as addTextListener for JTextArea, at
least not in my java version (1.6).
I think you're misreading the manual, since addTextListener is just available
for TextArea.
What you might wanna use is a document listener in JTextArea.
Regards
Stefan
>
> thank you...