×
Namespaces

Variants
Actions
Revision as of 11:32, 9 June 2009 by tanjaluodes (Talk | contribs)

Multiple List in LCDUI

From Nokia Developer Wiki
Jump to: navigation, search

The following code creates a Multiple list.

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
 
public class Multiple_List extends MIDlet
{
Display display=Display.getDisplay(this);
 
public void startApp()
{
//List(label,type,items,Images)
List list = new List("Multiple list", List.MULTIPLE,new String[]
{"Python", "J2ME", "Symbian"}, null);
display.setCurrent(list);
}
}


The following screen shot is an outcome.

Multiple list.png

60 page views in the last 30 days.