Someone requested help on SoloJava group (spanish language) about a Label that can be clicked, so I decided to implement one. The implementation details are very simple, this component is not a JLabel, it is a simple JButton with a different UI and a mouse listener added in order to change it appareance when the mouse enters or exit the component area. You can download the source code (BSD license)
See the source code file for the class com.marcanoonline.swing.TestButtonLink in order to see an example of com.marcanoonline.swing.JButtonLink component usage










Trackbacks (0)