I appreciate Swing applications are not as main stream as they once were - but I'm still creating them.
I have one niggle which I've had since "for ever" which maybe someone has worked around.
Lets say you have a frame which has a text input field on it with some text populated and you want to replace it with something else.
Now you can place the cursor at the end of the existing text and click backspace to remove it one character at a time,
or you can do what I prefer which is to use the mouse to highlight all of the text and then click backspace just once.
The problem is that if you use the second approach and then start typing then you end up with a single character which appears to be highlighted and gets overtyped each time you type a letter.
Kinda annoying
Is there a cunning way to prevent this behavoir - if I've removed all of the text then I should be able to just resume typing without this (I don't know what to call it) odd behavior.
I have other apps which I am not the author of which do the same - so it's not my
Java code which is causing it.
Some peculiarity of Java Swing
Dave