public void switchSetup(){
  int retVal;
  retVal=m_SetupFileChooser.showOpenDialog(this);
  if (retVal != JFileChooser.APPROVE_OPTION) {
    return;
  }
  m_DbUtils.initialize(m_SetupFileChooser.getSelectedFile());
  m_URL=m_DbUtils.getDatabaseURL();
  m_User=m_DbUtils.getUsername();
  m_Password=m_DbUtils.getPassword();
  m_TextURL.setText(m_URL);
}

public void switchSetup ( ) { int retVal ; retVal = m_SetupFileChooser . showOpenDialog ( this ) ; if ( retVal != JFileChooser . APPROVE_OPTION ) { return ; } m_DbUtils . initialize ( m_SetupFileChooser . getSelectedFile ( ) ) ; m_URL = m_DbUtils . getDatabaseURL ( ) ; m_User = m_DbUtils . getUsername ( ) ; m_Password = m_DbUtils . getPassword ( ) ; m_TextURL . setText ( m_URL ) ; }
lets the user select a props file for changing the database connection parameters .
