|
Java™ by example!
|
|
|
How do I make a JLabel selectable?
A common way is to create a JTextField and give the user the impression it's a JLabel by changing some of its properties. Here's an example: Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|