你用这个试试
JFileChooser fc = new JFileChooser();fc.addChoosableFileFilter(new PicFilter());
fc.setAcceptAllFileFilterUsed(false);fc.setFileView(new PicFileView());
fc.setAccessory(new PicPreview(fc));
}
int returnVal = fc.showDialog(this,"sample");
JFileChooser fc = new JFileChooser();fc.addChoosableFileFilter(new PicFilter());
fc.setAcceptAllFileFilterUsed(false);fc.setFileView(new PicFileView());
fc.setAccessory(new PicPreview(fc));
}
int returnVal = fc.showDialog(this,"sample");
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货