我无法弄清楚这个程序有什么问题: import java.io.*; public class EncyptionAssignment { public static void main (String[] args) throws IOException { String line; BufferedReader in; in = new BufferedReader(new FileReader(“notepad encypt.me.txt”)); line = in.readLine(); while(line != null) { System.out.println(line); line = in.readLine(); } System.out.println(line); } } 错误消息说无法找到该文件,但我知道该文件已存在。 我是否需要将文件保存在特殊文件夹中?
无论如何从JAVA进程输入notepad.exe进程?
我想在我的Java程序中打开记事本。 假设我有一个按钮,如果单击此按钮,将出现记事本。 我已经有了文件名和目录。 我该如何实施这个案例?