JFileChooser jfc = new JFileChooser();
jfc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
jfc.setDialogTitle("dddd");
int result = jfc.showOpenDialog(CompareClient.this);我是这样写的, 但就是不能选择目录,只能选择文件,这是那块错了尼?
jfc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
jfc.setDialogTitle("dddd");
int result = jfc.showOpenDialog(CompareClient.this);我是这样写的, 但就是不能选择目录,只能选择文件,这是那块错了尼?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货