From: amwaterhouse Date: Mon, 21 Mar 2005 18:48:20 +0000 (+0000) Subject: add setValue method X-Git-Tag: Release_2_0~532 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=5f3c64cf6cfbc7bc450167f9a409c2e1c02ce097;p=jalview.git add setValue method --- diff --git a/src/jalview/gui/SliderPanel.java b/src/jalview/gui/SliderPanel.java index fca4105..4f7c89c 100755 --- a/src/jalview/gui/SliderPanel.java +++ b/src/jalview/gui/SliderPanel.java @@ -109,6 +109,10 @@ public class SliderPanel extends GSliderPanel } } + public void setValue(int value) + { + slider.setValue(value); + } public int getValue() { return Integer.parseInt(valueField.getText());