Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 18:05, 3 September 2007.

Choice group

From Forum Nokia Wiki

The following code creates a Form with an Exclusive and a Multiple Choice Group.


import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
 
public class Choice_Group extends MIDlet 
{
   Display display=Display.getDisplay(this);
    
    public void startApp() 
    {
        Form form = new Form("Form example");
        //ChoiceGroup(label,type,elements,image)
        ChoiceGroup CourseEXCL = new ChoiceGroup ("Exclusive choice",
                                            Choice.EXCLUSIVE,new String[]
                                           {"Python", "J2ME", "Symbian"}, null);
        form.append(CourseEXCL);
        ChoiceGroup CourseMULT = new ChoiceGroup ("Multiple choice",
                                                  Choice.MULTIPLE,new String[]
                                            {"Python","J2ME", "Symbian"}, null);
        form.append(CourseMULT);
        display.setCurrent(form);
    }
}

Image:Choicegroup.png‎

Related Discussions
Thread Thread Starter Forum Replies Last Post
is it possible to mix bitmap graphics with OpenGL ES? miranda2112 Symbian Media (Graphics & Sounds) 6 2005-04-06 04:43
the base telephone WindowGroup idris_tas General Symbian C++ 3 2007-12-05 10:08
First Step-3rd edition RunL General Symbian C++ 26 2006-09-14 12:33
Nokia 6310i caller groups ringing tones do not work musicman53 General Discussion 0 2005-12-19 16:25
Multiple Radio Button Groups not working. jonesdk Browsing and Mark-ups 2 2007-01-17 19:07
 
Powered by MediaWiki