if (e.getSource() == itemUseAbout) { // 选择使用说明菜单,打开使用说明的.doc文档
try { Process openfile; openfile = Runtime.getRuntime().exec( "cmd /k start .\\config\\Monkey.doc"); System.out.println(openfile.toString()); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } }