This week's giveaway is in the Groovy forum.
We're giving away four copies of Groovy Fundamentals video training course and have Ken Kousen on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Underlined JLabel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Underlined JLabel" Watch "Underlined JLabel" New topic
Author

Underlined JLabel

Barry Brashear
Ranch Hand

Joined: Jun 05, 2001
Posts: 303
Is there a way to have the text of a JLabel underlined?

Thanks.
Jennifer Sohl
Ranch Hand

Joined: Feb 28, 2001
Posts: 455
One way you could accomplish this, is to use HTML
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Underlined JLabel