こんにちは私は最近リソースエディタを使い始めました、そして私は質問があります:私はリソースエディタでテスト目的のためだけに簡単なプロジェクトを作成しようとしています:こんにちは世界のラベルだけで特別なことは何もありませんが、すべてのプロジェクト(JavaSE、MIDP、RIM)が作成され、実行されていません。通常のJaVAでは画面が真っ暗になり、MIDPエミュレータでは「このアプリケーションはバックグラウンドで実行されます」というメッセージが表示されます。
私のStateMachineBaseコードはこれです
public class StateMachineBase {
public StateMachineBase(String s) {}
}
そして私のStateMachineコードはこれです:
public StateMachine(String resFile) {
super(resFile);
// do not modify, write code in initVars and initialize class members there,
// the constructor might be invoked too late due to race conditions that might occur
}
/**
* this method should be used to initialize variables instead of
* the constructor/class scope to avoid race conditions
*/
protected void initVars() {
}
したがって、コードがないため、私のプログラムは明らかに何もしないと思います。私は何が間違っているのですか?私の理解では、StateMachineBaseにはすべてのボイラーコードが含まれているはずです。Netbeans6.9.1、Lwuitの最新バージョン、JavaMESDK3.0およびNokiaS60SDKを使用しています。
ありがとうございました。