Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

TextArea additable and uneditable (copy/past problem)

807603Jan 19 2008 — edited Jan 20 2008
Hi,
What I need to do is create TextArea (or JTextArea that right mouse click will show copy/past prompt) or any area that instead of showing chars that you typed will show custom text (i.e. 'a' = 'abc'). I am doing that with keyTyped event. Now the problem is that if I am making the area editable then the chars that I actually typed are also shown. If I am doing the area uneditable than after copying from it I can't past in it.
I can probably ask a different question "how I remove the text area from listening to the keys I type"?
Is there any solution to the problem?

Thanks ALOT!

Edited by: qwerty55 on Jan 19, 2008 2:27 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2008
Added on Jan 19 2008
2 comments
196 views