• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

J2ME and forte for java  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I've got a problem with the compilation of my midlet on Forte For Java. Only the class : Display is not recognized. We try with the basic example HelloMidlet and we have this response :

HelloMIDlet/HelloMIDlet.java [23:1] cannot resolve symbol
symbol : class Display
location: class HelloMIDlet.HelloMIDlet
private Display display; // The display for this MIDlet
^
HelloMIDlet/HelloMIDlet.java [26:1] cannot resolve symbol
symbol : variable Display
location: class HelloMIDlet.HelloMIDlet
display = Display.getDisplay(this);
^
2 errors
Errors compiling HelloMIDlet.
Can you help me please ?
Thanks
(Excuse my english, i'm french)
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do u use
import javax.microedition.lcdui.*;
?
 
Mickael Terrien
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I resolved my problem using midpapi.zip
 
I'm gonna teach you a lesson! Start by looking at this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!