Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2ME and forte for java  RSS feed

 
Mickael Terrien
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)
 
alimadhi
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!