The addItem Method
Items are added individually to a Choice: Choice list = new Choice(); list.addItem( "HTML" ); list.addItem( "JavaScript" ); list.addItem( "CGI" ); list.addItem( "Java" ); list.addItem( "VRML" ); list.select(2); // select "CGI"
As usual, items are indexed starting with 0