Hi all
I'm looking for some control like swing's JOptionPane.showOptionDialog in J2ME.
Is there any control that you can call its constructor method or any other method to return the option that user has choosed?
Its contstructor should return the choosed option by the user.For example in J2SE you can use such syntax:
int p =JOptionPane.showOptionDialog(this,
"Please select your pawn to be promoted to which one?",
"Pawn Promotion",
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE,
null,options,options[0]);
Regards.

Reply With Quote


