Bookmark Topic Watch Topic
  • New Topic

hi

 
hari thatikonda
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi can u place two lines with different font and size on one jlabel with ou html
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
You've already asked this here and gotten answers from some Really Smart People. HTML is the only way to get formatted text in a JLabel.

If you don't want to use HTML for some reason, then you could just use two JLabels, one on top the other, packed into a vertical Box.

I'm closing this thread; if the discussion needs to be continued, do so at the link above.
 
    Bookmark Topic Watch Topic
  • New Topic