File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 JavaScript Promises Essentials this week in the JavaScript 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.
 
 
subject: Is it possible to display more than one line in Label?