wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Creating a LIST Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Creating a LIST" Watch "Creating a LIST" New topic

Creating a LIST

Anna Husten

Joined: Sep 20, 2010
Posts: 2
Hey guys,

I am coding a simple List but I do not know how to kill this compiler error:

the WTK says:

Project settings saved
Building "ListMIDlet1"
C:\Users\Anna\j2mewtk\2.5.2\apps\ListMIDlet1\src\ListMIDlet.java:16: cannot find symbol
symbol : constructor List(java.lang.String,int,java.lang.String[])
location: class javax.microedition.lcdui.List
hauptliste = new List("IMPLICIT-Liste", Choice.IMPLICIT, optionen);
1 error
Build failed

I thank you in advance for your time and looking forward to your reply


Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10489

Shouldn't be

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Consider Paul's rocket mass heater.
subject: Creating a LIST