摘要: 1、基本用法JFileChooser dlg = new JFileChooser();dlg.setDialogTitle("Open JPEG file");int result = dlg.showOpenDialog(this); // 打开"打开文件"对话框// int result = dlg.showSaveDialog(this); // 打"开保存文件"对话框if (result == JFileChooser.APPROVE_OPTION) {File file = dlg.getSelectedFile();.. 阅读全文
posted @ 2013-04-27 10:11 rhino 阅读(21317) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示