Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • 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:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!