code: private void pbConnectActionPerformed (java.awt.event.ActionEvent evt)//GEN-FIRST:event_pbConnectActionPerformed
      {//GEN-HEADEREND:event_pbConnectActionPerformed
        // Add your handling code here:
        mainFrame.setProperty(JFrmMainFrame.JDBC_DRIVER, tfJDBCDriver.getText());
        mainFrame.setProperty(JFrmMainFrame.JDBC_URL, tfJDBCURL.getText());
        mainFrame.setProperty(JFrmMainFrame.JDBC_USER, tfUsername.getText());
        mainFrame.setProperty(JFrmMainFrame.JDBC_PASSWORD, new String(this.tfPassword.getPassword()));      
        new org.apache.ojb.tools.mapping.reversedb.gui.actions.DBConnectAction(mainFrame).actionPerformed(null);
        dispose();
      }
docs: GEN-LAST:event_pbCancelActionPerformed