else if(type == HyperlinkEvent.EventType.EXITED)
} else if(type == HyperlinkEvent.EventType.EXITED) {  address = evt.getDescription(); if(address.startsWith("?abbr:"))
    private void hyperLinkUpdate(javax.swing.event.HyperlinkEvent evt) {//GEN-FIRST:event_hyperLinkUpdate                String address = "";        String title = "";        java.awt.Graphics gc;        java.awt.Point mousePos;                // look what kind of action                HyperlinkEvent.EventType type = evt.getEventType();        if(type == HyperlinkEvent.EventType.ENTERED)        {          // just ENTERED          address = evt.getDescription();                             if(address.startsWith("?abbr:"))          {            title = address.substring(6);                          gc = getGraphics();            mousePos = getMousePosition();                        update(gc);            java.awt.Color oldColor = gc.getColor();            java.awt.Color newColor = new java.awt.Color(255, 200, 0);                        // inner rectangle            gc.setColor(newColor);            java.awt.FontMetrics fm = gc.getFontMetrics();                        int rectX = mousePos.x;            int rectY = mousePos.y - fm.getHeight() + fm.getDescent();            int rectHeight = fm.getHeight();            int rectWidth = fm.stringWidth(title);                        gc.fillRect(rectX, rectY, rectWidth, rectHeight);                        // bounds            newColor = new java.awt.Color(0, 0, 0);            gc.setColor(newColor);            gc.drawRect(rectX - 1, rectY - 1, rectWidth + 1, rectHeight + 1);                        // text            newColor = new java.awt.Color(0, 0, 0);            gc.setColor(newColor);                        gc.drawString(title, mousePos.x, mousePos.y);            gc.setColor(oldColor);                      }        }        else if(type == HyperlinkEvent.EventType.EXITED)        {          // just EXITED          address = evt.getDescription();          if(address.startsWith("?abbr:"))          {             gc = getGraphics();             update(gc);          }        }            }//GEN-LAST:event_hyperLinkUpdate