From: gmungoc Date: Wed, 15 Aug 2018 11:17:27 +0000 (+0100) Subject: JAL-3048 use JS-compatible JvOptionPane method X-Git-Tag: Release_2_11_4_0~45^2~18^2~490 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6f1c651f8d540aa7ab544d7e20940ecd78b60526;p=jalview.git JAL-3048 use JS-compatible JvOptionPane method --- diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index 1460985..5c46d95 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -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)