add setValue method
authoramwaterhouse <Andrew Waterhouse>
Mon, 21 Mar 2005 18:48:20 +0000 (18:48 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 21 Mar 2005 18:48:20 +0000 (18:48 +0000)
src/jalview/gui/SliderPanel.java

index fca4105..4f7c89c 100755 (executable)
@@ -109,6 +109,10 @@ public class SliderPanel extends GSliderPanel
     }\r
   }\r
 \r
+  public void setValue(int value)\r
+  {\r
+    slider.setValue(value);\r
+  }\r
   public int getValue()\r
   {\r
     return Integer.parseInt(valueField.getText());\r