private java.sql.Connection connectToDB(String strJDBCDriver, String strJDBCURL,
        String strUsername, String strPassword)
        throws java.sql.SQLException, java.lang.ClassNotFoundException
    {
        Class.forName(strJDBCDriver);
        java.sql.Connection conn =
        java.sql.DriverManager.getConnection(strJDBCURL,
                strUsername, strPassword);  
        return conn;
    }
private java . sql . Connection connectToDB ( String strJDBCDriver , String strJDBCURL , String strUsername , String strPassword ) throws java . sql . SQLException , java . lang . ClassNotFoundException { Class . forName ( strJDBCDriver ) ; java . sql . Connection conn = java . sql . DriverManager . getConnection ( strJDBCURL , strUsername , strPassword ) ; return conn ; }
GEN-LAST:event_closeDialog