A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
Joined: Sep 09, 2004
Oct 10, 2004 09:59:00
hi can u place two lines with different font and size on one jlabel with ou html
author and iconoclast
Joined: Jul 08, 2003
Oct 10, 2004 11:08:00
You've already asked this
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.
[Jess in Action]
I agree. Here's the link:
What is life
how many weddings this summer?!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014