Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

J2ME ChoiceGroup.POPUP

Status
Not open for further replies.

Haraldo

Programmer
Jun 9, 2003
41
GB
Hi,

Im developing my final year project in Sun one Studio 4 update 1. I am developing some software that needs to use the MIDP 2.0 implementation but i don't know how to integrate MIDP 2.0 into the development studio, im obviously being thick but its driving me MAD. I need to use the ChoiceGroup.POPUP that is in MIDP 2.0. The compiler creates an error as follows:

---------------------------------------------------------
ThreadForm.java [48:68] cannot resolve symbol
symbol : variable POPUP
location: class javax.microedition.lcdui.ChoiceGroup
ChoiceGroup cgTopics = new ChoiceGroup("Topic", ChoiceGroup.POPUP,
1 error
Errors compiling ThreadForm.
---------------------------------------------------------

I believe this means i am using MIDP 1.0 specification and when the compiler runs it just doesn't have a clue what POPUP is. However if i can update MIDP 1.0 to MIDP 2.0 then everything should be cooshty !

Please help if you can and tell me where i am going wrong cause this is driving me nuts!!

As i can't find much info on the net i reckon i am approaching this all wrong.

Thanks,
Harry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top