else
{
sp = (SliderPanel) conservationSlider.getComponent(0);
+ sp.valueField.setText(String.valueOf(cs.getConservationInc()));
sp.cs = cs;
}
else
{
pid = (SliderPanel) PIDSlider.getComponent(0);
+ pid.valueField.setText(String.valueOf(cs.getThreshold()));
pid.cs = cs;
}
PIDSlider
SliderPanel.setConservationSlider(ap, stretchGroup.cs,
stretchGroup.getName());
}
- else
+ if (stretchGroup.cs.getThreshold() > 0)
{
SliderPanel.setPIDSliderSource(ap, stretchGroup.cs,
stretchGroup.getName());
else
{
sp = (SliderPanel) conservationSlider.getContentPane();
- sp.slider.setValue(cs.getConservationInc());
+ sp.valueField.setText(String.valueOf(cs.getConservationInc()));
sp.cs = cs;
}
else
{
pid = (SliderPanel) PIDSlider.getContentPane();
- pid.slider.setValue(cs.getThreshold());
+ pid.valueField.setText(String.valueOf(cs.getThreshold()));
pid.cs = cs;
}