if (e.getPropertyName().equals(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY)) listingMode = filechooser.getFileSelectionMode();
String property = e.getPropertyName(); if (property.equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY) || property.equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || property.equals(JFileChooser.FILE_HIDING_CHANGED_PROPERTY) || property.equals(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY) || property.equals(JFileChooser.FILE_VIEW_CHANGED_PROPERTY) ) { validateFileCache(); }
  public void propertyChange(PropertyChangeEvent e)  {    if (e.getPropertyName().equals(JFileChooser.FILE_SELECTION_MODE_CHANGED_PROPERTY))      listingMode = filechooser.getFileSelectionMode();  }