public void onOK() {

    DatabaseMeta database = new DatabaseMeta();
    this.getInfo( database );

    boolean passed = checkPoolingParameters();
    if ( !passed ) {
      return;
    }

    String[] remarks = database.checkParameters();
    String message = "";

    if ( remarks.length != 0 ) {
      for ( int i = 0; i < remarks.length; i++ ) {
        message = message.concat( "* " ).concat( remarks[ i ] ).concat( System.getProperty( "line.separator" ) );
      }
      showMessage( message, false );
    } else {
      if ( databaseMeta == null ) {
        databaseMeta = new DatabaseMeta();
      }
      this.getInfo( databaseMeta );
      databaseMeta.setChanged();
      close();
    }
  }
@Test
  public void testOnOK() throws Exception {

  }