How to create underlined label
Suppose, we need underlined label in our swing application. java.awt.Font doesn’t have this option.
But next code solves the problem:
JLabel clickItLabel = new JLabel("<html><u>Click It</u></html>")
Related posts:
- How to make multilined label
- How to create hyperlink in desktop application
- How to start desktop application with Netbeans























