Stephen Price wrote:
> Hi, I am writing a JLabel and can't find out how to make the text of the
> label consist of two  vertical lines i.e.
> 
> instead of the Label "User Response"
> I want the label to look like
> "  User
>  Response  "
> 
> Does anyonw nkow how to do this ?? Thanks, Stephen
> 

Insert HTML into JLabel... ie:

JLabel multiLine=new
   JLabel("<html><body>First Line<br>Second line</body></html>");

Gojko Adzic
http://www.gojko.com




_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing

Reply via email to