How to use ChoiceGroup in J2ME
This J2ME tips illustrates method of using a ChoiceGroup in mobile applications.
ChoiceGroup is a group of selectable elements intended to be placed within a Form.
import javax.microedition.lcdui.Choice;
import javax.microedition.lcdui.ChoiceGroup;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.midlet.*;
public class Midlet extends MIDlet implements CommandListener {
private Display display;
private Form form;
[...]
RSS