日期:2014-05-20  浏览次数:20695 次

eclipse wtk 2.2整和问题 !
请高手们指点! (急)
虚拟手机能启动运行!但会出现闪动!是机子问题还是eclipse问题.我的机子配置 内存1G 显卡128

还有游戏图片是不放在文件src 中??

用下面代码测试!
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class helloword extends MIDlet
{
  private Display display; 
  public helloword() 
  {
  display = Display.getDisplay(this);
  }
  public void startApp() 
  {
  Form f = new Form("测试");
f.append("hello world!");
  display.setCurrent(f);
  }
  public void pauseApp() 
  {
   
  }
  
  public void destroyApp(boolean unconditional) 
  {
   
  }
}


出现如下
Connecting to 127.0.0.1 on port 2800
Waiting for debugger on port 3346
Connection received.
Waiting for KVM...
正在通过存储根 C:\Documents and Settings\Administrator\j2mewtk\2.5.2\appdb\MediaControlSkin 来运行
警告:没有初始化 WMA 消息路由支持
Running with locale: Chinese_People's Republic of China.936
Running in the identified_third_party security domain
Connected to KVM
Execution completed.
3409992 bytecodes executed
410 thread switches
1667 classes in the system (including system classes)
25208 dynamic objects allocated (1210264 bytes)
2 garbage collections (649604 bytes collected)

警告:没有初始化 WMA 消息路由支持 这什么意思????

------解决方案--------------------
都启动了啊.
------解决方案--------------------

  恩!
 你没看清我的提问!