GSlider replaces GConservationIncrementPanel
authoramwaterhouse <Andrew Waterhouse>
Wed, 15 Dec 2004 17:24:14 +0000 (17:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 15 Dec 2004 17:24:14 +0000 (17:24 +0000)
src/jalview/jbgui/GSliderPanel.java [moved from src/jalview/jbgui/GConservationIncrementPanel.java with 75% similarity]

similarity index 75%
rename from src/jalview/jbgui/GConservationIncrementPanel.java
rename to src/jalview/jbgui/GSliderPanel.java
index 1ca6d05..e53870f 100755 (executable)
@@ -4,16 +4,16 @@ import java.awt.*;
 import javax.swing.*;
 import java.awt.event.*;
 
-public class GConservationIncrementPanel extends JPanel
+public class GSliderPanel extends JPanel
 {
   protected JSlider slider = new JSlider();
   protected JTextField valueField = new JTextField();
-  JLabel jLabel1 = new JLabel();
+  protected JLabel label = new JLabel();
   JPanel jPanel1 = new JPanel();
   BorderLayout borderLayout1 = new BorderLayout();
   GridLayout gridLayout1 = new GridLayout();
 
-  public GConservationIncrementPanel()
+  public GSliderPanel()
   {
     try
     {
@@ -44,14 +44,14 @@ public class GConservationIncrementPanel extends JPanel
         valueField_actionPerformed(e);
       }
     });
-    jLabel1.setBackground(new Color(212, 208, 236));
-    jLabel1.setFont(new java.awt.Font("Verdana", 0, 11));
-    jLabel1.setOpaque(true);
-    jLabel1.setHorizontalAlignment(SwingConstants.CENTER);
-    jLabel1.setText("Enter the value by which to decrease conservation colour intensity");
+    label.setBackground(new Color(212, 208, 236));
+    label.setFont(new java.awt.Font("Verdana", 0, 11));
+    label.setOpaque(true);
+    label.setHorizontalAlignment(SwingConstants.CENTER);
+    label.setText("set this label text");
     jPanel1.setLayout(borderLayout1);
     gridLayout1.setRows(2);
-    this.add(jLabel1, null);
+    this.add(label, null);
     this.add(jPanel1, null);
     jPanel1.add(valueField,  BorderLayout.EAST);
     jPanel1.add(slider, BorderLayout.CENTER);