摘要: 1、nifty gui1.3中修改代码,使其支持中文的输入:com.jme3.input.awt.AwtKeyInput类,添加toAWTCode(int key)方法,将jme3中的keyCode转换成awt中的keyCode:public static int toAWTCode(int key) { switch (key) { case KEY_ESCAPE: return KeyEvent.VK_ESCAPE; case KEY_1: return KeyEvent.VK_1; case KEY_2: return KeyEvent.VK_2; case KEY_3: return 阅读全文