Further structure accessing feature
[jalview.git] / src / jalview / gui / AnnotationLabels.java
index 6626016..b8c81ce 100755 (executable)
@@ -58,7 +58,7 @@ public class AnnotationLabels extends JPanel implements MouseListener,
   Image image;
 
   AlignmentPanel ap;
-
+  
   AlignViewport av;
 
   boolean resizing = false;
@@ -439,6 +439,7 @@ public class AnnotationLabels extends JPanel implements MouseListener,
   public void mouseClicked(MouseEvent evt)
   {
     AlignmentAnnotation[] aa = ap.av.alignment.getAlignmentAnnotation();
+        
     if (SwingUtilities.isLeftMouseButton(evt))
     {
       if (selectedRow > -1 && selectedRow < aa.length)
@@ -494,6 +495,7 @@ public class AnnotationLabels extends JPanel implements MouseListener,
     JMenuItem item = new JMenuItem(ADDNEW);
     item.addActionListener(this);
     pop.add(item);
+        
     if (selectedRow < 0)
     {
       if (hasHiddenRows)