Lines Matching refs:f2
795 final File f2 = fsv.createFileObject(f.getParentFile(), newFileName);
796 if (f2.exists()) {
800 if (FilePane.this.getModel().renameFile(f, f2)) {
801 if (fsv.isParent(chooser.getCurrentDirectory(), f2)) {
808 chooser.setSelectedFiles(new File[]{f2});
810 chooser.setSelectedFile(f2);
973 public int compare(File f1, File f2) {
974 if (f1 != null && f2 != null) {
976 boolean traversable2 = getFileChooser().isTraversable(f2);
988 getDetailsTableModel().getFileColumnValue(f2, column)
993 return comparator.compare(f1, f2);
1419 File f2 = fsv.createFileObject(editFile.getParentFile(), newFileName);
1420 if (f2.exists()) {
1424 if (getModel().renameFile(editFile, f2)) {
1425 if (fsv.isParent(chooser.getCurrentDirectory(), f2)) {
1427 chooser.setSelectedFiles(new File[]{f2});
1429 chooser.setSelectedFile(f2);