B
Boki
Hi All,
Why can't register CommandListener () from Canvas?
MyGUI extends Canvas
{
....
myMIDlet.myForm.setCommandListener(myMIDlet.myForm);
....
}
Error output:
setCommandListener in javax.microedition.lcdui.Displayable cannot be applied
to javax.microedition.lcdui.From
----------
How can I change my CommandListener from MyGUI.java to myMIDlet.java
Thank you very much for your help.
Best regards,
Boki.
Why can't register CommandListener () from Canvas?
MyGUI extends Canvas
{
....
myMIDlet.myForm.setCommandListener(myMIDlet.myForm);
....
}
Error output:
setCommandListener in javax.microedition.lcdui.Displayable cannot be applied
to javax.microedition.lcdui.From
----------
How can I change my CommandListener from MyGUI.java to myMIDlet.java
Thank you very much for your help.
Best regards,
Boki.