Hi. Does anyone know if there is a JTextArea method that I can override to change what is displayed on screen?
I want to keep the contents of the field the same. Ie. If I set the text to "hello" and I call getText(), I wan't it to return "hello".
However, I wan't to be able to override what is displayed on screen (Eg. to replace with '*')
Yes I know JPasswordField does this, but I need to use a JTextArea, and also would like fine control over what is displayed.
Any ideas? Is there a display method that I can override? Many many thanks if you have!!!