}
/**
- * DOCUMENT ME!
+ * Calculates the height of the annotation displayed in the annotation panel.
+ * Callers should normally call the ap.adjustAnnotationHeight method to ensure all
+ * annotation associated components are updated correctly.
+ *
*/
public int adjustPanelHeight()
{
}
this.setPreferredSize(new Dimension(1, height));
+ ap.alabels.validate();
return height;
}