Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Underline JLabel Without using HTML?

843804Jul 23 2003 — edited Nov 18 2004
I have seen various posts explaining how to use HTML to underline text in a JLabel. I used the html tags and it worked in Windows, but then when I ran the program using the X Windows Emulator, Reflection X, the underline extended past the text and ended up underlining the whole label. Is there anyway to fix this or other ways of underlining JLabels without using HTML?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2004
Added on Jul 23 2003
4 comments
409 views