JAL-3026 Java bug associated with File/String mods
[jalview.git] / src / jalview / gui / AnnotationPanel.java
index 1460985..5c46d95 100755 (executable)
@@ -312,7 +312,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI,
     else if (action.equals(LABEL))
     {
       String exMesg = collectAnnotVals(anot, LABEL);
-      String label = JvOptionPane.showInputDialog(this,
+      String label = JvOptionPane.showInputDialog(
               MessageManager.getString("label.enter_label"), exMesg);
 
       if (label == null)