o_helman
asked on
wordwrap for Label text ?
hello,
here is a simple one.
i would like to know if its possible to wordwrap the text in Label. (not JLabel).
if so, how???
thanks
Ori
here is a simple one.
i would like to know if its possible to wordwrap the text in Label. (not JLabel).
if so, how???
thanks
Ori
As far as I know this is not possible. If you need multi-line Label, define a subclass of Panel and set its LayoutManager to new GridLayout(0, 1) and add a Label for each line.
No, raga, I already tried this.
Hi,
I think there is no direct method available for that.
Anyhow, try this link
http://java.cs.vt.edu/dev/kfc/jp.kyasu.editor.TextEditor.html
:-)
Mohan
I think there is no direct method available for that.
Anyhow, try this link
http://java.cs.vt.edu/dev/kfc/jp.kyasu.editor.TextEditor.html
:-)
Mohan
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
But,try setting the size of the Label and give the label string more than the size. Then it may help. Let me know.