• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to display more than one line in Label?

 
Gurumurthy Ramamurthy
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possible to have more than one line (line break, multi-line label) in Label (AWT).
I know you can give in JLabel.

But I am asking in Label.

Thanks,
Guru
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it's not possible with java.awt.Label. You'll probably have to create your own custom Label or search for it already done by someone else.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic