public void establishConnection() {
        try {
            // Load Driver
            Class.forName(DRIVER).newInstance();

            // Establish connection
            connection = DriverManager.getConnection(URL);
            System.out.println(URL + " connected...");

        } catch ( SQLException ex ) {
            System.err.println("SQLException: " + ex.getMessage());
        } catch ( ClassNotFoundException ex ) {
            Logger.getLogger(HighScores.class.getName()).log(Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            Logger.getLogger(HighScores.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            Logger.getLogger(HighScores.class.getName()).log(Level.SEVERE, null, ex);
        }

    }