You can create a release to package software, along with release notes and links to binary files, for other people to use. Learn more about releases in our docs.
我有以下代码。它保存文件,但内容为空。怎么了?public void saveMap() { 如果使用Java 7,请尝试使用资源。您可以这样做:try(FileWriter fw = new FileWriter(chooser.getSelectedFile()+".txt")) { fw.write(sb.toString ...