I was wondering how you would have fixed text in a JTextfield that isn't editable and allows text to be appended at the beginning of the textfield text.
JTextfield (email) contains @domain.com by default for example.
You can type in blah@domain.com but cannot do blah@blah.com.
Is there some sort of text/input listener I can use alongside this component to implement this behaviour?
Any other solution's would be good as I want to force the user to use a specific email domain.