C:\s60\devices\s60_3rd_MIDP_SDK_FP1\s60examples\helloworldplus\src\com\nokia\mid
p\examples\lcdui\helloworldplus\TextEditor.java:35: cannot find symbol
symbol : variable Command
location: class com.nokia.midp.examples.lcdui.helloworldplus.TextEditor
new Command("Cancel", Command.CANCEL, COMMAND_PRIORITY);
^
The priority is an integer usually in the range of 0-4, that is max what I seen. I tried to look up max value but couldn't find it. Lower number stand for higher priority and higher number for lower priority
C:\s60\devices\s60_3rd_MIDP_SDK_FP1\s60examples\helloworldplus\src\com\nokia\mid
p\examples\lcdui\helloworldplus\TextEditor.java:59: cannot find symbol
symbol : class TextField
location: class com.nokia.midp.examples.lcdui.helloworldplus.TextEditor
textField = new TextField("Edit message",
^
This look like missing import statement
import javax.microedition.lcdui.TextField; , or can be wrong spelling in some cases
C:\s60\devices\s60_3rd_MIDP_SDK_FP1\s60examples\helloworldplus\src\com\nokia\mid
p\examples\lcdui\helloworldplus\TextEditor.java:62: cannot find symbol
symbol : variable TextField
location: class com.nokia.midp.examples.lcdui.helloworldplus.TextEditor
TextField.ANY);
^
Missing import
C:\s60\devices\s60_3rd_MIDP_SDK_FP1\s60examples\helloworldplus\src\com\nokia\mid
p\examples\lcdui\helloworldplus\TextEditor.java:68: cannot find symbol
symbol : method setCommandListener(com.nokia.midp.examples.lcdui.helloworldplus
.TextEditor)
location: class com.nokia.midp.examples.lcdui.helloworldplus.TextEditor
setCommandListener(this);
^
37 errors
Difficult to say, can be related to any above errors. If you have problem with the code you can post it bellow I will have look at it. Please use code tags in that case [code]YOUR CODE[/code]
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 873
Code tags enforcer
Offline 6,656 posts
since Dec 2004