Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get underline  RSS feed

 
burugupalli
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends
any one help me in knowing how to get underline for JLabel
is their any method or class
please
mohan
 
John Zukowski
Author
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to use HTML to underline in a JLabel. There is no underline attribute of fonts.
------------------
John Zukowski Author of "Definitive Guide to Swing for Java 2" and "Java Collections"
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!