code: private void currentDatasourceChange() {
          OBDADataSource source = obdaModel.getDatasource();
  
          comboListener.setNotify(false);
          String driverClass = source.getParameter(RDBMSourceParameterConstants.DATABASE_DRIVER);
          if(driverClass == null || driverClass.isEmpty())
          {
              txtJdbcDriver.setSelectedIndex(0);
          }
          else
          {
              txtJdbcDriver.setSelectedItem(driverClass);
          }
          txtDatabaseUsername.setText(source.getParameter(RDBMSourceParameterConstants.DATABASE_USERNAME));
          txtDatabasePassword.setText(source.getParameter(RDBMSourceParameterConstants.DATABASE_PASSWORD));
          txtJdbcUrl.setText(source.getParameter(RDBMSourceParameterConstants.DATABASE_URL));
          lblConnectionStatus.setText("");
  
          comboListener.setNotify(true);
      }
docs: End of variables declaration//GEN-END:variables