AlignmentAnnotation[] aa = av.alignment.getAlignmentAnnotation();\r
Annotation[] anot = aa[activeRow].annotations;\r
\r
+ if (anot.length < av.getColumnSelection().getMax())\r
+ {\r
+ Annotation[] temp = new Annotation[av.getColumnSelection().getMax()+2 ];\r
+ System.arraycopy(anot, 0, temp, 0, anot.length);\r
+ anot = temp;\r
+ aa[activeRow].annotations = anot;\r
+ }\r
+\r
+\r
if (evt.getActionCommand().equals(REMOVE))\r
{\r
for (int i = 0; i < av.getColumnSelection().size(); i++)\r