|
URGENT choicebox
How do u declare and initialize choice boxes??
Is it like
String[] TypeItems = {"Regular", "Diet"};
Choice cboType = new Choice(TypeItems);
or
String[] TypeItems = {"Regular", "Diet"};
cboType = new Choice(TypeItems);
the latter gave a compiler error saying that <identifier> is expected
PLEASE HELP
MANY THANKS
|