private void goButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_goButtonActionPerformed
// Load and show the page specified in the location packet field.
    URL verifiedUrl = verifyUrl(locationTextField.getText());
    if (verifiedUrl != null) {
        showPage(verifiedUrl, true);
    } else {
        showError("Invalid URL");
    }
}