JLabel - Is text wrapping possible?

I am writing a code the user dynamically inserts JLabels. It has now become important that some of the text in some of the JLabels inserted is automatically wrapped in a new line. I could not find how JLabels could be set to have multi-lined text inside them.

Is there any way to achieve this?

Thanks

[319 byte] By [getusamaa] at [2007-11-26 17:24:15]
# 1
You can use HTML.
camickra at 2007-7-8 23:52:16 > top of Java-index,Desktop,Core GUI APIs...
# 2
> You can use HTML.I'm sorry i couldn't find an example. Could you provide one?Thanks in advance
getusamaa at 2007-7-8 23:52:16 > top of Java-index,Desktop,Core GUI APIs...
# 3
> I'm sorry i couldn't find an example. Could you> provide one?Like 324.000 results that Google returns for "JLabel HTML"?
kirillga at 2007-7-8 23:52:16 > top of Java-index,Desktop,Core GUI APIs...
# 4
wo .... t was not right for me to search for "insert HTML" and such thank you
getusamaa at 2007-7-8 23:52:16 > top of Java-index,Desktop,Core GUI APIs...
# 5
> I'm sorry i couldn't find an example. Could you provide one?How many times have I asked you to look at the "Table Of Contents" in the Swing tutorial?
camickra at 2007-7-8 23:52:16 > top of Java-index,Desktop,Core GUI APIs...