JAL-3048 use JS-compatible JvOptionPane method
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 15 Aug 2018 11:17:27 +0000 (12:17 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Wed, 15 Aug 2018 11:17:27 +0000 (12:17 +0100)
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)