Is it possible to allow a user to copy text from within a disabled JTextField? At the moment if I have a text field that is disabled, the user is unable to select the text to copy and paste into another app.
Make the text field non editable, then you can still use the mouse to select text.
You can also change the font color to make it look disabled.
Camickr's suggestions are the right on, but alternatively you could add a right click menu option with a copy action.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With