TextArea additable and uneditable (copy/past problem)
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?