问题
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.
回答1:
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.
回答2:
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.
来源:https://stackoverflow.com/questions/9029762/desigining-a-form-in-j2me