accept.addActionListener(getApproveSelectionAction()); cancel.addActionListener(getCancelSelectionAction()); upFolderButton.addActionListener(getChangeToParentDirectoryAction()); homeFolderButton.addActionListener(getGoHomeAction()); newFolderButton.addActionListener(getNewFolderAction()); filters.addItemListener(createFilterListener());  filelist.addMouseListener(createDoubleClickListener(filechooser, filelist)); filelist.addListSelectionListener(createListSelectionListener(filechooser));
  protected void installListeners(JFileChooser fc)  {    propertyChangeListener = createPropertyChangeListener(filechooser);    filechooser.addPropertyChangeListener(propertyChangeListener);    //parents.addItemListener(createBoxListener());    accept.addActionListener(getApproveSelectionAction());    cancel.addActionListener(getCancelSelectionAction());    upFolderButton.addActionListener(getChangeToParentDirectoryAction());    homeFolderButton.addActionListener(getGoHomeAction());    newFolderButton.addActionListener(getNewFolderAction());    filters.addItemListener(createFilterListener());    filelist.addMouseListener(createDoubleClickListener(filechooser, filelist));    filelist.addListSelectionListener(createListSelectionListener(filechooser));  }