I want to configure JLabel like this:
|exam|
|ple |
not like this:
|exam...|
Do you know how can I do this?
thanks
Printable View
I want to configure JLabel like this:
|exam|
|ple |
not like this:
|exam...|
Do you know how can I do this?
thanks
mmm You can't do this.
but please search a Multiline Jtable, i remember that I've searched and somebody implemented this. I used a JtextArea without color, visually, this is the same!
;)
You can use a JTextArea with linewrap instead of jlabel.
for example
jTextArea.setEditable(false)
jTextArea.setLineWrap(true)
jTextArea.setWrapStyleWord(true);
try it