Posted By:
David_Thornton
Posted On:
Monday, May 24, 2004 05:20 PM
Swing implements HTML rendering for its components. JLabel and JButton are Swing components not AWT components so you can use HTML tags to underline the text.
For example;
String myLabelText = "underline is possible";
JLabel myLabel = new JLabel(myLabelText);