X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FAnnotationPanel.java;h=b1f0edb83284bdf2711ccb36a1372c527debc9f0;hb=01f25e260a8c336119462420a1c2a11512293b41;hp=0b2f6cc24dcaacaad9f3be57b2fe8d52a1cbc6fc;hpb=89f6349fbcbaadc2f330c0cc7f567f7f0e60f5c0;p=jalview.git diff --git a/src/jalview/gui/AnnotationPanel.java b/src/jalview/gui/AnnotationPanel.java index 0b2f6cc..b1f0edb 100755 --- a/src/jalview/gui/AnnotationPanel.java +++ b/src/jalview/gui/AnnotationPanel.java @@ -300,7 +300,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, else if (action.equals(LABEL)) { String exMesg = collectAnnotVals(anot, LABEL); - String label = JOptionPane.showInputDialog(this, + String label = JvOptionPane.showInputDialog(this, MessageManager.getString("label.enter_label"), exMesg); if (label == null) @@ -380,7 +380,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, aa[activeRow].hasIcons = true; } - String label = JOptionPane.showInputDialog(MessageManager + String label = JvOptionPane.showInputDialog(MessageManager .getString("label.enter_label_for_the_structure"), symbol); if (label == null) @@ -458,8 +458,8 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, String tlabel = null; if (anots[index] != null) { // LML added stem code - if (type.equals(HELIX) || type.equals(SHEET) - || type.equals(STEM) || type.equals(LABEL)) + if (type.equals(HELIX) || type.equals(SHEET) || type.equals(STEM) + || type.equals(LABEL)) { tlabel = anots[index].description; if (tlabel == null || tlabel.length() < 1) @@ -814,8 +814,7 @@ public class AnnotationPanel extends JPanel implements AwtRenderPanelI, { text.append(", ") .append(MessageManager.getString("label.sequence")) - .append(" ") - .append(seqIndex + 1); + .append(" ").append(seqIndex + 1); char residue = seqref.getCharAt(column); if (!Comparison.isGap(residue)) {