R
Ryan Tan via JavaKB.com
Hi, I have a question regarding JTextArea.
I need to place a JTextArea on my frame to display application messages. Is there a way to make it non-editable but users still can select text in it and copy to clipboard using the keyboard shortcut?
I tried .setEditable(false) but this disables the "Copy to clipboard" functionality of JTextArea.
I need to place a JTextArea on my frame to display application messages. Is there a way to make it non-editable but users still can select text in it and copy to clipboard using the keyboard shortcut?
I tried .setEditable(false) but this disables the "Copy to clipboard" functionality of JTextArea.