{\r
SliderPanel sp = null;\r
ConservationColourScheme ccs = (ConservationColourScheme)cs;\r
- int value = ccs.inc;\r
\r
if(conservationSlider == null)\r
{\r
- sp = new SliderPanel(ap, value, true, cs);\r
+ sp = new SliderPanel(ap, ccs.inc, true, cs);\r
conservationSlider = new JInternalFrame();\r
conservationSlider.setContentPane(sp);\r
conservationSlider.setLayer(JLayeredPane.PALETTE_LAYER);\r
{\r
sp = (SliderPanel)conservationSlider.getContentPane();\r
sp.cs = cs;\r
- sp.setValue(value);\r
}\r
\r
conservationSlider.setTitle("Conservation Colour Increment ("+source+")");\r
}\r
else\r
{\r
- if (toChange.canThreshold())\r
( (ResidueColourScheme) toChange).setThreshold(i);\r
}\r
\r