Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Como usar um Popup choice group, em LCDUI

From Wiki
Jump to: navigation, search

Este artigo mostra como criar um Form com um Popup Choice Group.

Article Metadata

Artigo
Tradução:
Por valderind4
Última alteração feita por lpvalente em 19 Jan 2014
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

This page was last modified on 19 January 2014, at 00:58.
252 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.

×