Scrolling the Application in PALM

HI All,

I am some what new to PALM application developments. I am facing one problem which may be vey easy for you, so Pl. guide me for this.

In my application i am taking entry of around 10-12 fields and storing them to pdb file. Now if i prepared one application with 2-3 field as entry program and it works fine but when i am going for more than 5-6 fields i get problem.

My problem is..as graphics class width is 160 * 160 and i am putting my text field or button classes below that then they dont show up. Even i dont get any scrollbar to go down and enter data there.

In my code I have written as below

/******************************************/

nameText = new TextField("Name", 10, 40, 110, 15);

numText = new TextField("Number", 10, 60, 110, 15);

nameText1 = new TextField("Email", 10, 80, 110, 15);

nameText2 = new TextField("Address1", 10, 100, 110, 15);

nameText3 = new TextField("Address2", 10, 120, 110, 15);

nameText4 = new TextField("Other Info", 10, 140, 110, 15);

storeButton = new Button("Store",70,225);

cancelButton = new Button("Cancel",10,225);

/*****************************************************/

so on palm it shows upto nametext 3 only , and for other objects like nametext4 or button io cant see them even i cant navigate to them .

Can anyone Pl. guide me that what should i do to get some scrollbar (just same we get in default address book application to enter around 10-15 fields)

Thanks

Taral Shah

(tarals@contechsoftware.com)

[1596 byte] By [taral_shah] at [2007-9-26 12:07:02]
# 1

[taral_shah],

You have not described which version of the MIDP for Palm OS java application manager (JavaHQ) that you have installed onto your Palm OS device.

Try downloading the production version of the MIDP for Palm OS 1.0 from this URL:

http://java.sun.com/products/midp4palm/download.html

Also, you did not specify which Palm OS version number that you have on the device. The MIDP for Palm OS 1.0 is officially supported and tested on Palm OS 3.5.x. It has not been tested on any other revisions above or below the 3.5.x version. The problems that you are seeing could be related to the Palm OS version number.

HTH.

Allen Lai

Developer Technical Support

SUN Microsystems

http://www.sun.com/developers/support/

allenlai at 2007-7-2 2:34:32 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

Thanks you Allen Lai,

Thanks for reply, actually I was using CLDC so i found that problem. I haven't tried with MIDP, but as you are syaing i will download it and will check for same.

If some help required in future, can I ask you?

If yes then how should I contact you?

Thanks for reply,

Taral Shah

(tarals@contechsoftware.com)

taral_shah at 2007-7-2 2:34:32 > top of Java-index,Java Mobility Forums,Java ME Technologies...