I'm using LWUIT as my j2me project's GUI library. I've generated a netbeans project using LWUIT Resource editor. And I have a separate project, in which I write additional components for my j2me program.
In that separate project, I have a class TextForm extends Form
, where Form is a standard LWUIT's form. When I try to do:
TextForm a = new TextForm();
a.show();
everything's works fine. But when I do:
Form a = new TextForm();
a.show();
I have a compile-time error:
Error preverifying class userclasses.StateMachine
VERIFIER ERROR userclasses/StateMachine.onConnect()V:
Cannot find class client/lwuit/components/TextForm
(the TextForm class contains in the client.lwuit.components
package of my separate project with components). So, is there any solution for this problem?
UPD:
a.show() method is a standard Form method. It is responsible for displaying forms. It's not so important here.