| Author |
How to open a POPUP Choicegroup..?
|
Uditha Senaratne
Greenhorn
Joined: Jul 09, 2006
Posts: 7
|
|
Hi friends,
I am developing a JavaME application for unit conversion using Netbeans 6.5 IDE. Here I have added a command to a choicegroup-popup.
public Class Converter extends Midlet implements ItemCommandListener{
....
....
choicegroup1=new ChoiceGroup(..................................);
command1=new Command(..................................);
....
....
choicegroup1.setDefaultCommand(command1);
choicegroup1.setItemCommandListener(this);
....
....
}
I want to open and pop up the choicegroup when "triggering" the command, but failed.
Can somebody please help me... :?:
Thank you...!
|
 |
Sukitha R Udugamasooriya
Greenhorn
Joined: Feb 02, 2009
Posts: 15
|
|
Uditha,
Could you please give more detail about your problem? I'm not quite clear about the current explanation.
thanks,
|
Sukitha Ranaba Udugamasooriya
(SCJP SCMAD SCWCD)
|
 |
Uditha Senaratne
Greenhorn
Joined: Jul 09, 2006
Posts: 7
|
|
I want to assign a Choicegroup(POPUP) to a command button.
There's a POPUP type chicegroup item on my Form. I want to assign a command button for that item and when I press the command button, the choicegroup should be popped up.
I can open the choicegroup by pressing the joystick of my phone, but I am failed do it by pressing the command button.
Thanks...........
|
 |
Sukitha R Udugamasooriya
Greenhorn
Joined: Feb 02, 2009
Posts: 15
|
|
Hi Uditha,
Before I go deeply in your problem I just want to clarify few things. Does you class have 2 overloaded commandAction() methods and have you implement the ItemCommandListener?
regards
|
 |
 |
|
|
subject: How to open a POPUP Choicegroup..?
|
|
|