From: janengelhardt Date: Tue, 28 Jun 2011 12:00:54 +0000 (+0200) Subject: clean code X-Git-Tag: Jalview_2_9~576^2~31 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8b5356e49064b77364ef8cc0c9af87a59f1e9a0a;p=jalview.git clean code Change-Id: I43a5703ed1dee98dbad0b15226dbe21a87fb6ead --- diff --git a/src/jalview/gui/AnnotationLabels.java b/src/jalview/gui/AnnotationLabels.java index b8c81ce..6626016 100755 --- a/src/jalview/gui/AnnotationLabels.java +++ b/src/jalview/gui/AnnotationLabels.java @@ -58,7 +58,7 @@ public class AnnotationLabels extends JPanel implements MouseListener, Image image; AlignmentPanel ap; - + AlignViewport av; boolean resizing = false; @@ -439,7 +439,6 @@ 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) @@ -495,7 +494,6 @@ public class AnnotationLabels extends JPanel implements MouseListener, JMenuItem item = new JMenuItem(ADDNEW); item.addActionListener(this); pop.add(item); - if (selectedRow < 0) { if (hasHiddenRows)