i am having a problem with JTextArea. when i say tab it just gives a Tab space instead of focusing the next component. Secondly i want to know how to wrap text in JTextArea..
please let know..
posted 9 years ago
Hello, Whenever you type tab, It will focus some other component. That's the existing functionality. If you want space you should override the existing functionality of the component. add keyAdapter to your text area and capture tab key event and do whatever you want.
regarding wrapping of text, just have lookat java API