X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FPCAPanel.java;h=32f02fea66547e750e078426093f0a8e63851f04;hb=4935082f08648ab92743e14e5e2dfefa3e0dcd4d;hp=14f0a453b92a0da824df39db854384ec569795a4;hpb=b57a02c25e335d033c97f8a6bacd6b54f62bd2b6;p=jalview.git diff --git a/src/jalview/appletgui/PCAPanel.java b/src/jalview/appletgui/PCAPanel.java old mode 100755 new mode 100644 index 14f0a45..32f02fe --- a/src/jalview/appletgui/PCAPanel.java +++ b/src/jalview/appletgui/PCAPanel.java @@ -1,29 +1,30 @@ /* - * 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.2) + * Copyright (C) 2014 The Jalview Authors * * 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. - * + * 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 * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.appletgui; -import java.util.*; - import java.awt.*; import java.awt.event.*; -import jalview.analysis.*; import jalview.datamodel.*; +import jalview.util.MessageManager; import jalview.viewmodel.PCAModel; public class PCAPanel extends EmbmenuFrame implements Runnable, @@ -86,7 +87,8 @@ public class PCAPanel extends EmbmenuFrame implements Runnable, embedMenuIfNeeded(rc); add(rc, BorderLayout.CENTER); - jalview.bin.JalviewLite.addFrame(this, "Principal component analysis", + jalview.bin.JalviewLite.addFrame(this, + MessageManager.getString("label.principal_component_analysis"), 475, 400); Thread worker = new Thread(this); @@ -220,7 +222,8 @@ public class PCAPanel extends EmbmenuFrame implements Runnable, CutAndPasteTransfer cap = new CutAndPasteTransfer(false, null); Frame frame = new Frame(); frame.add(cap); - jalview.bin.JalviewLite.addFrame(frame, "PCA details", 500, 500); + jalview.bin.JalviewLite.addFrame(frame, + MessageManager.getString("label.pca_details"), 500, 500); cap.setText(pcaModel.getDetails()); } @@ -317,20 +320,21 @@ public class PCAPanel extends EmbmenuFrame implements Runnable, xCombobox.setFont(new java.awt.Font("Verdana", 0, 12)); xCombobox.addItemListener(this); resetButton.setFont(new java.awt.Font("Verdana", 0, 12)); - resetButton.setLabel("Reset"); + resetButton.setLabel(MessageManager.getString("action.reset")); resetButton.addActionListener(this); this.setMenuBar(menuBar1); - menu1.setLabel("File"); - menu2.setLabel("View"); - calcSettings.setLabel("Change Parameters"); - labels.setLabel("Labels"); + menu1.setLabel(MessageManager.getString("action.file")); + menu2.setLabel(MessageManager.getString("action.view")); + calcSettings.setLabel(MessageManager.getString("action.change_params")); + labels.setLabel(MessageManager.getString("label.labels")); labels.addItemListener(this); - values.setLabel("Output Values..."); + values.setLabel(MessageManager.getString("label.output_values")); values.addActionListener(this); - inputData.setLabel("Input Data..."); - nuclSetting.setLabel("Nucleotide matrix"); + inputData.setLabel(MessageManager.getString("label.input_data")); + nuclSetting.setLabel(MessageManager + .getString("label.nucleotide_matrix")); nuclSetting.addItemListener(this); - protSetting.setLabel("Protein matrix"); + protSetting.setLabel(MessageManager.getString("label.protein_matrix")); protSetting.addItemListener(this); this.add(jPanel2, BorderLayout.SOUTH); jPanel2.add(jLabel1, null);