Desigining a Form in j2me

560 Views Asked by At

I am trying to design a Form in J2ME without the use of Canvas class which has List like structure and an image as a Header.

I want to add command button (OK) So by clicking on it ... i can choose a particular item in list and get navigated to next Screen.

2

There are 2 best solutions below

0
On BEST ANSWER

Just create a ImageItem from that image. Take a form and add that image to the form. And to add list, if you are using netbeans ide, you can see various UI examples by doing this: File>New project>Category:Samples>UI Demo then click finish. And run the project. By observing the samples there you will have idea.

20
On

Just look at this link. It tells how to create table(list) kind of layout using Canvas. It looks like Table with Row & Column. You can download example from here.