This simple Hyperlink application is used to demonstrate and explain basic functionality.

JXHyperlink comes along with support for changing foreground text color when the button (link) has been clicked. Take a look at the action class to see more details.

All relevant lines are highlighted. Press the "Run..." button to start the example.