Ejemplo n.º 1
0
  /**
   * Makes the bar visible and sensitive to LogOutoutListener events that should deliver actual
   * content to be displayed.
   */
  public void annotate() {
    annotated = true;
    elementAnnotations = Collections.<Element, AnnotateLine>emptyMap();

    doc.addDocumentListener(this);
    textComponent.addComponentListener(this);
    editorUI.addPropertyChangeListener(this);

    revalidate(); // resize the component
  }