How do you add a line break in a Label using LWUIT?

1k views Asked by At

I've created a Label on a Form, but is too large to show it in one line, is it posible make a break line? I am using LWUIT on J2ME.

Thank you.

4

There are 4 answers

0
pheromix On

Create many labels and place them inside a BoxLayout(Y_AXIS) Container.

0
Mun0n On

Label is not make to break lines. Why don't you try with TextArea? It allows you to show multiline items.

1
bharath On

Use TextArea instead of Label and disable the editable mode and create empty border to that TextArea. Label isn't allow multi line.

0
AndroGeek On

Create a Label label = new Label(" ") and add it to the container.