Lines Matching defs:chooser

688         JFileChooser chooser;
695 this.chooser = fc;
703 File dir = chooser.getCurrentDirectory();
704 if (dir != null && usesShellFolder(chooser)) {
763 // Use (f.exists() && !chooser.getFileSystemView().isFileSystemRoot(f)) to
776 final JFileChooser chooser = getFileChooser();
779 String oldDisplayName = chooser.getName(f);
794 FileSystemView fsv = chooser.getFileSystemView();
797 JOptionPane.showMessageDialog(chooser, MessageFormat.format(renameErrorFileExistsText,
801 if (fsv.isParent(chooser.getCurrentDirectory(), f2)) {
807 if (chooser.isMultiSelectionEnabled()) {
808 chooser.setSelectedFiles(new File[]{f2});
810 chooser.setSelectedFile(f2);
816 // chooser.setSelectedFile(null);
819 JOptionPane.showMessageDialog(chooser, MessageFormat.format(renameErrorText, oldFileName),
1030 JFileChooser chooser;
1033 DetailsTableCellRenderer(JFileChooser chooser) {
1034 this.chooser = chooser;
1036 chooser.getLocale());
1094 text = chooser.getName(file);
1095 Icon icon = chooser.getIcon(file);
1128 final JFileChooser chooser = getFileChooser();
1137 chooser.dispatchEvent(e);
1155 detailsTable.setComponentOrientation(chooser.getComponentOrientation());
1168 TableCellRenderer cellRenderer = new DetailsTableCellRenderer(chooser);
1199 scrollpane.setComponentOrientation(chooser.getComponentOrientation());
1349 JFileChooser chooser = getFileChooser();
1350 File currentDirectory = chooser.getCurrentDirectory();
1369 editCell.setText(chooser.getName(editFile));
1373 Icon icon = chooser.getIcon(editFile);
1402 JFileChooser chooser = getFileChooser();
1403 String oldDisplayName = chooser.getName(editFile);
1418 FileSystemView fsv = chooser.getFileSystemView();
1421 JOptionPane.showMessageDialog(chooser, MessageFormat.format(renameErrorFileExistsText, oldFileName),
1425 if (fsv.isParent(chooser.getCurrentDirectory(), f2)) {
1426 if (chooser.isMultiSelectionEnabled()) {
1427 chooser.setSelectedFiles(new File[]{f2});
1429 chooser.setSelectedFile(f2);
1433 //chooser.setSelectedFile(null);
1436 JOptionPane.showMessageDialog(chooser, MessageFormat.format(renameErrorText, oldFileName),
1563 JFileChooser chooser = getFileChooser();
1568 f = chooser.getSelectedFile();
2002 public static boolean usesShellFolder(JFileChooser chooser) {
2003 Boolean prop = (Boolean) chooser.getClientProperty("FileChooser.useShellFolder");
2005 return prop == null ? chooser.getFileSystemView().equals(FileSystemView.getFileSystemView())