This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a LIST

 
Anna Husten
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
com.sun.kvem.ktools.ExecutionException
Build failed


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

greeting

anna
 
Maneesh Godbole
Saloon Keeper
Posts: 11092
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shouldn't be
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic