Hi Andrew

You can put multible lines in a JLabel by using html.

Example: JLabel label = new JLabel("<html>Line 1<BR>Line 2</html>");

John

-----Original Message-----
From: Andrew Van Cleve [mailto:[EMAIL PROTECTED]]
Sent: 26. juni 2002 17:47
To: JDJList
Subject: [jdjlist] Multi-Line(wrapping) JLabel


Does anyone know how to use a JLabel for Multi-Line
Text?  Or do you have a suggestion on what to use that
is similar to a JLabel that wraps onto multiple lines.

Thanks in advance,
Andrew

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm


This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst & Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.


To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm

Reply via email to