my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Is it possible to display more than one line in Label? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Is it possible to display more than one line in Label?" Watch "Is it possible to display more than one line in Label?" New topic
Author

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

Gurumurthy Ramamurthy
Ranch Hand

Joined: Feb 13, 2003
Posts: 272
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

Joined: Jun 19, 2010
Posts: 825
    
    5

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.


The quieter you are, the more you are able to hear.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to display more than one line in Label?
 
Similar Threads
2 lines of text for a label?
multi line in a java.awt.Label
Doubt in this Swing program. can anyone clear my doubt?
Swing is my Nemesis
How does tag printing in java and which printer is used for?