if (result == APPROVE_OPTION) m_LastFilter = (ExtensionFileFilter) getFileFilter();
if (result == APPROVE_OPTION) { m_LastFilter = getFileFilter(); configureCurrentConverter(); }
  public int showOpenDialog(Component parent) {    m_DialogType       = LOADER_DIALOG;    m_CurrentConverter = null;        initGUI();        int result = super.showOpenDialog(parent);        if (result == APPROVE_OPTION)      m_LastFilter = (ExtensionFileFilter) getFileFilter();        m_DialogType = UNHANDLED_DIALOG;    removePropertyChangeListener(m_Listener);        // does file exist?    if (    (result == APPROVE_OPTION) 	 && (getFileMustExist()) 	 && (!getSelectedFile().exists()) ) {     int retVal = JOptionPane.showConfirmDialog(	  	  parent, 	  	  "The file '" 	  	  + getSelectedFile() 	  	  + "' does not exist - please select again!");     if (retVal == JOptionPane.OK_OPTION)	result = showOpenDialog(parent);     else	result = CANCEL_OPTION;   }       return result;  }