title: How to display the multi line textAreas in lwuit (J2ME)?
body: <p>I have created a <code>TextArea</code> with statement ....</p>
  
  <pre><code>quest1Label = new TextArea();
  </code></pre>
  
  <p>I am using the <code>TextArea</code> for displaying the <code>Labels</code>.... So I use following function to set its properties.... </p>
  
  <pre><code>private void setTextAreaProperty(TextArea textArea) {
      String textStr = textArea.getText();
      if (textArea.getStyle().getFont().stringWidth(textStr) &gt; (width - 25)) {
          textArea.setSingleLineTextArea(false);
      } else {
          textArea.setSingleLineTextArea(true);
          textArea.setPreferredW(width);
      }
      textArea.setBorderPainted(false);
      textArea.setFocusable(false);
      textArea.setStyle(getPreviewStyle());
  }
  </code></pre>
  
  <p>where <strong>width = Display.getInstance().getDisplayWidth();</strong>
  my problem is that up to two lines the label works properly but .... if the text is even larger it doesn't go to third line.
  any help regarding this will be appreciated.</p>
  
  <p>Thanks in Advance,....</p>