add consslider to palette layer
authoramwaterhouse <Andrew Waterhouse>
Thu, 21 Apr 2005 17:24:58 +0000 (17:24 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 21 Apr 2005 17:24:58 +0000 (17:24 +0000)
src/jalview/gui/SliderPanel.java

index 2fbe0cc..de50cae 100755 (executable)
@@ -28,6 +28,7 @@ public class SliderPanel extends GSliderPanel
       sp = new SliderPanel(ap, value, true, cs);\r
       conservationSlider = new JInternalFrame();\r
       conservationSlider.setContentPane(sp);\r
+      conservationSlider.setLayer(JLayeredPane.PALETTE_LAYER);\r
     }\r
     else\r
     {\r
@@ -129,13 +130,13 @@ public class SliderPanel extends GSliderPanel
     applyButton.setVisible(false);\r
     if(forConservation)\r
     {\r
-      label.setText("Enter the value by which to decrease conservation colour intensity");\r
+      label.setText("Enter value to increase conservation visibility");\r
       slider.setMinimum(0);\r
       slider.setMaximum(50);\r
     }\r
     else\r
     {\r
-      label.setText("Enter the percent identity above which to colour residues");\r
+      label.setText("Enter % identity above which to colour residues");\r
       slider.setMinimum(0);\r
       slider.setMaximum(100);\r
     }\r