JFileChooser jfc = new JFileChooser();
jfc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
jfc.setDialogTitle("dddd");
int result = jfc.showOpenDialog(CompareClient.this);我是这样写的, 但就是不能选择目录,只能选择文件,这是那块错了尼?