Categories: Java | Java ME | UI | Code Examples
This page was last modified 18:00, 3 September 2007.
TextBox
From Forum Nokia Wiki
The following code creates a Text Box.
import javax.microedition.midlet.*; import javax.microedition.lcdui.*; public class TextBox_Example extends MIDlet { Display display=Display.getDisplay(this); public void startApp() { //TextBox(title,text,size,contrains) TextBox textbox = new TextBox("Text Box Example", "This is an example of a TextBox",50,0); display.setCurrent(textbox); } }
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TextBox commands on 6310i | ratl | Mobile Java General | 0 | 2002-05-16 04:47 |
| Predictive Text in Full Screen | jilko | Mobile Java Media (Graphics & Sounds) | 4 | 2007-06-07 13:19 |
| phone book access | newonilaa | Mobile Java General | 12 | 2004-08-03 14:45 |
| java.util.Date class | nowanda | Mobile Java General | 4 | 2004-05-12 15:29 |
| How to get OK instead of Options above the left soft key when displaying a TextBox? | timo_focus | Mobile Java General | 2 | 2005-09-03 18:24 |

