• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating a LIST

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Shouldn't be
 
reply
    Bookmark Topic Watch Topic
  • New Topic