// are not changing ancestors, and keyboard action listeners do
// not need to be reset. addNotify() is a very expensive operation,
// requiring a full re-layout of all parents and children.
// Note in JComponent:
// This method is called by the toolkit internally and should
// not be called directly by programs.
// I note that addNotify() is called in several areas of Jalview.
// Note in JComponent:
// This method is called by the toolkit internally and should
// not be called directly by programs.
+ // I note that addNotify() is called in several areas of Jalview.
int annotationHeight = getAnnotationPanel().adjustPanelHeight();
annotationHeight = getAnnotationPanel()