X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fjbgui%2FGSliderPanel.java;h=7e8e4fc1a359337e3c09bce3dca8ffdb637bd1ac;hb=a8f483d04205bb8273ee311c12968b7e86d205fa;hp=dc7f2e5e7027cd42ed5645cd22901e656efbb191;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/jbgui/GSliderPanel.java b/src/jalview/jbgui/GSliderPanel.java index dc7f2e5..7e8e4fc 100755 --- a/src/jalview/jbgui/GSliderPanel.java +++ b/src/jalview/jbgui/GSliderPanel.java @@ -1,23 +1,25 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) - * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) + * Copyright (C) 2014 The Jalview Authors * - * This program 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 2 - * of the License, or (at your option) any later version. + * This file is part of Jalview. * - * This program 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. + * 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 + * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * 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.jbgui; +import jalview.util.MessageManager; + import java.awt.*; import java.awt.event.*; import javax.swing.*; @@ -75,7 +77,7 @@ public class GSliderPanel extends JPanel * DOCUMENT ME! * * @throws Exception - * DOCUMENT ME! + * DOCUMENT ME! */ private void jbInit() throws Exception { @@ -108,13 +110,13 @@ public class GSliderPanel extends JPanel label.setFont(new java.awt.Font("Verdana", 0, 11)); label.setOpaque(false); label.setHorizontalAlignment(SwingConstants.CENTER); - label.setText("set this label text"); + label.setText(MessageManager.getString("label.set_this_label_text")); southPanel.setLayout(borderLayout1); gridLayout1.setRows(2); jPanel2.setLayout(flowLayout1); applyButton.setFont(new java.awt.Font("Verdana", 0, 11)); applyButton.setOpaque(false); - applyButton.setText("Apply"); + applyButton.setText(MessageManager.getString("action.apply")); applyButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -125,7 +127,7 @@ public class GSliderPanel extends JPanel undoButton.setEnabled(false); undoButton.setFont(new java.awt.Font("Verdana", 0, 11)); undoButton.setOpaque(false); - undoButton.setText("Undo"); + undoButton.setText(MessageManager.getString("action.undo")); undoButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -136,7 +138,7 @@ public class GSliderPanel extends JPanel allGroupsCheck.setEnabled(false); allGroupsCheck.setFont(new java.awt.Font("Verdana", 0, 11)); allGroupsCheck.setOpaque(false); - allGroupsCheck.setText("Apply to all Groups"); + allGroupsCheck.setText(MessageManager.getString("action.apply_all_groups")); allGroupsCheck.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(ActionEvent e) @@ -165,7 +167,7 @@ public class GSliderPanel extends JPanel * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void valueField_actionPerformed(ActionEvent e) { @@ -175,7 +177,7 @@ public class GSliderPanel extends JPanel * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void applyButton_actionPerformed(ActionEvent e) { @@ -185,7 +187,7 @@ public class GSliderPanel extends JPanel * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void undoButton_actionPerformed(ActionEvent e) { @@ -195,7 +197,7 @@ public class GSliderPanel extends JPanel * DOCUMENT ME! * * @param e - * DOCUMENT ME! + * DOCUMENT ME! */ protected void allGroupsCheck_actionPerformed(ActionEvent e) {