doCloseForm();
}//GEN-LAST:event_jButton3ActionPerformed
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
try {
gkOracleConnection oraConn = gkOracleConnection.getInstance();
oraConn.displayRegisteredDrivers();
oraConn.setHost(getHost());
oraConn.setPort(getPort());
oraConn.setSID(getSID());
oraConn.setUsername(getUsername());
if(getURL().length()<2){
oraConn.connect(jPasswordField1.getText());
} else {
oraConn.connect(getURL(), getUsername(), jPasswordField1.getText());
}
// gkOracleConnection.setInstance(oraConn);
doCloseForm();
} catch (SQLException ex) {
ErrorFrame.getInstance().showException(ex);