if (event.getCode() == KeyCode.F11) {
DirectoryChooser dc = new DirectoryChooser();
File dirFile = dc.showDialog(null);
if (dirFile != null) {
String nowChoosePath = dirFile.getAbsolutePath();
try {
javafx-点击按钮向文本里追加文本并保存,windows打开文件夹选中默认文件
于 2022-05-05 12:51:43 首次发布