如题,解决立马给分!以前好像见过........

解决方案 »

  1.   

    就比如说,在windows 下,用 cmd start c:\\t.txt,这样类似的!
    高手帮忙!
      

  2.   

    可以使用文件对话框打开啊
    fileDialog(this,"open",FileDialog.LOAD);
      

  3.   

    我是说命令行中如何实现?
    windows和linux应该不一样的!
      

  4.   

    Process process = Runtime.getRuntime().exec(arstringCommand);
      

  5.   

    Process process=  Runtime.getRuntime().exec("notepad c:\\response.txt");
      

  6.   

    Process process=  Runtime.getRuntime().exec("notepad c:\\response.txt");
    Process process = Runtime.getRuntime().exec(arstringCommand);