TextArea Visible Lines : TextArea « GWT « Java






TextArea Visible Lines

  


package com.java2s.gwt.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.TextArea;

public class GWTClient implements EntryPoint {

  public void onModuleLoad() {
    TextArea textArea = new TextArea();
    textArea.setVisibleLines(5);

    RootPanel.get().add(textArea);
  }
}

           
         
    
  








GWT-textAreaVisibleLines.zip( 2 k)

Related examples in the same category

1.Using TextAreaItem to create multiline text area (Smart GWT)Using TextAreaItem to create multiline text area (Smart GWT)
2.Set length of a TextAreaItem (Smart GWT)Set length of a TextAreaItem (Smart GWT)
3.Adding key listener to TextArea (Ext GWT)Adding key listener to TextArea (Ext GWT)