Making a textfield active

I'm writing a MIDP 1.0 application for an older phone. I have a textfield for data entry and I would like a way in the code to force it to be "selected".

Right now the user has to use the up and down buttons to choose the textfield and then press the select button and THEN they can start typing data in it. I would like to streamline this a bit.

Ideally I would like them to just be able to start hitting numbers and have them start appearing in the textfield.

Failing that I would like at least a way to force the textfield to be selected to they don't have to maneuver to it each time.

Any help?

Thanks.

[645 byte] By [AlJohnJeffJoea] at [2007-11-27 11:18:34]
# 1

As I know, all of these you said are impossible.

etaa at 2007-7-29 14:31:39 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

hello AlJohnJeffJoe,

unlike what eta suggested :

> As I know, all of these you said are impossible.

it is definitely possible. although i have only tested in midp2....

javax.microedition.lcdui.Display.getDisplay(this).setCurrentItem(item);

cheers....../fg

(ps. i dont like it when people always jump in and say things are not possible,

if you personally do not know and cant be bothered trying to find an answer then

dont reply.)

freddiegolda at 2007-7-29 14:31:39 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

ouh yes.

excuse me.

etaa at 2007-7-29 14:31:39 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4

Thanks for your help. I'll give that a try in my MIDP 1.0 app and see if it works as well.

AlJohnJeffJoea at 2007-7-29 14:31:39 > top of Java-index,Java Mobility Forums,Java ME Technologies...