Reinhard Engels
21 years ago
I display information in a JLabel that I would like users to be able
to copy. They can't. From what I understand, that's just the way
JLabels work. Is there any other component that will make text look
just like a JLabel but be selectable/copyable? I know I can use a
non-editable JTextField/TextArea/TextPane but I don't want to use
something that looks like a form input field. I must be using the
wrong terms, because this seems like second grade java and
google/doorstops are giving me nothing.
Why do I want to do this? So users can copy the version info from my
"about" box into support emails.
Thanks in advance,
Reinhard
http://www.everydaysystems.com
to copy. They can't. From what I understand, that's just the way
JLabels work. Is there any other component that will make text look
just like a JLabel but be selectable/copyable? I know I can use a
non-editable JTextField/TextArea/TextPane but I don't want to use
something that looks like a form input field. I must be using the
wrong terms, because this seems like second grade java and
google/doorstops are giving me nothing.
Why do I want to do this? So users can copy the version info from my
"about" box into support emails.
Thanks in advance,
Reinhard
http://www.everydaysystems.com