×
Namespaces

Variants
Actions
Revision as of 08:26, 8 August 2013 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 08 Aug 2013
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

65 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.

×