/** @param e */
    public void hyperlinkUpdate(HyperlinkEvent e) {
      if (HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) {
        StringTokenizer st = new StringTokenizer(e.getDescription(), " ");
        if (st.hasMoreTokens()) {
          String selectedID = st.nextToken();

          if (selectedID.startsWith("play=")) {
            selectedID = selectedID.replace("play=", "");
            playResult(selectedID);
          } else if (selectedID.startsWith("show=")) {
            selectedID = selectedID.replace("show=", "");
            showResult(selectedID);
          }
        }
      }
    }
 /**
  * Makes the links active.
  *
  * @param evt
  */
 private void textJEditorPaneHyperlinkUpdate(
     javax.swing.event.HyperlinkEvent evt) { // GEN-FIRST:event_textJEditorPaneHyperlinkUpdate
   if (evt.getEventType()
       .toString()
       .equalsIgnoreCase(javax.swing.event.HyperlinkEvent.EventType.ENTERED.toString())) {
     setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
   } else if (evt.getEventType()
       .toString()
       .equalsIgnoreCase(javax.swing.event.HyperlinkEvent.EventType.EXITED.toString())) {
     setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
   } else if (evt.getEventType()
       .toString()
       .equalsIgnoreCase(javax.swing.event.HyperlinkEvent.EventType.ACTIVATED.toString())) {
     if (evt.getDescription().startsWith("#")) {
       textJEditorPane.scrollToReference(evt.getDescription());
     } else {
       this.setCursor(new java.awt.Cursor(java.awt.Cursor.WAIT_CURSOR));
       BareBonesBrowserLaunch.openURL(evt.getDescription());
       this.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
     }
   }
 } // GEN-LAST:event_textJEditorPaneHyperlinkUpdate