File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Text box height Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Text box height" Watch "Text box height" New topic

Text box height

Debojit Nag
Ranch Hand

Joined: Jul 19, 2005
Posts: 44
Hi all,
Could any one give me a solution ( source code, if possible)for having a text box whose height will be 4 times that we get first(by default, and then the height goes on increasing as no. of lines increased).


Thanks,<br />Debojit Nag
sailesh sirari

Joined: Aug 16, 2005
Posts: 9


TextField txt=new TextField("label","text",200,TextField.ANY);

Debojit Nag
Ranch Hand

Joined: Jul 19, 2005
Posts: 44
Thanx a lot. It really works fine.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Text box height
Similar Threads
changing height of the text box in html?
Textbox font color and face
Strange - Page Submits!!!
ImageUpdate to modify HEIGHT of a JCheckBox
Align top of image with adjacent text item