URL in JOptionPane

How to add url with click in JOptionPane (in the middle of the text)?

+3
source share
1 answer

You can add any component to JOPtionPane. This way you can add a JEditorPane containing HTML with your url. This message object, which is passed as an argument to showXXX methods, can be a Swing component.

+3
source

Source: https://habr.com/ru/post/1758992/


All Articles