• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to open a POPUP Choicegroup..?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...!
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Uditha,

Could you please give more detail about your problem? I'm not quite clear about the current explanation.

thanks,
 
Uditha Senaratne
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic