Hi, I am quite new to j2me. nowadays reading and implementing through Prentice Hall's Book Core J2ME Technology and MIDlets here http://www.corej2me.com/ which I find very useful. Actually have the intention to take the exam on Friday. ok, simple Q. i wonder what happens when we add more than one Commands to a Form at the same time. say EXIT HELP SCREEN etc.. i tried and it is not intuitive as i have expected. using J2ME Wireless Toolkit from Sun.
Well, since Commands are part of the higher-api's the actual implementation of these commands are device specific. But, in most cases, you will find that it will create a menu of a sort. Meaning usually Cell Phones will have two options for the Screen, the left and right buttons, when you get a third, the second and third are added to a menu that pops up when you select the right button. the add() method has a parameter for "importance" which the device can use to determine which Commands you see on the Screen and which get delegated to the menu. Mark