×
Namespaces

Variants
Actions
Revision as of 03:27, 19 September 2012 by hamishwillee (Talk | contribs)

Como usar um Popup choice group, em LCDUI

From Nokia Developer Wiki
Jump to: navigation, search

O seguinte código cria um Form com um Popup Choice Group.

Article Metadata

Artigo
Tradução:
Por valderind4
Última alteração feita por hamishwillee em 19 Sep 2012
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 CoursePOP = new ChoiceGroup ("Pop Up choice", Choice.POPUP,
new String[] {"Python", "J2ME","Symbian"}, null);
form.append(CoursePOP);
display.setCurrent(form);
}
}

O resultado é o seguinte screenshot.

Choicegroup1.png

66 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×