X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FPairwiseAlignPanel.java;h=a377892c3588b94b2c34c9a227e349ce05e1ef97;hb=6235128370382f0fecdf3ba1cc683052c5aa11e7;hp=a1fb5ea186d80f63a78197cd067c4f224a1cc5c0;hpb=d053a3c980cf4318b9a19a255f9fc870e74de989;p=jalview.git diff --git a/src/jalview/appletgui/PairwiseAlignPanel.java b/src/jalview/appletgui/PairwiseAlignPanel.java old mode 100755 new mode 100644 index a1fb5ea..a377892 --- a/src/jalview/appletgui/PairwiseAlignPanel.java +++ b/src/jalview/appletgui/PairwiseAlignPanel.java @@ -1,13 +1,13 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) - * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8) + * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * + * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR @@ -24,6 +24,7 @@ import java.awt.event.*; import jalview.analysis.*; import jalview.datamodel.*; +import jalview.util.MessageManager; public class PairwiseAlignPanel extends Panel implements ActionListener { @@ -52,7 +53,8 @@ public class PairwiseAlignPanel extends Panel implements ActionListener } else { - seqs = ap.av.getSelectionGroup().getSequencesInOrder(ap.av.getAlignment()); + seqs = ap.av.getSelectionGroup().getSequencesInOrder( + ap.av.getAlignment()); } float scores[][] = new float[seqs.length][seqs.length]; @@ -159,7 +161,7 @@ public class PairwiseAlignPanel extends Panel implements ActionListener textarea.setFont(new java.awt.Font("Monospaced", 0, 12)); textarea.setText(""); viewInEditorButton.setFont(new java.awt.Font("Verdana", 0, 12)); - viewInEditorButton.setLabel("View in alignment editor"); + viewInEditorButton.setLabel(MessageManager.getString("label.view_alignment_editor")); viewInEditorButton.addActionListener(this); this.add(scrollPane, BorderLayout.CENTER); scrollPane.add(textarea);