/** * Updates the contours for this view. */ private void updateContours() { if (_cl==null) { int nc = _cs.getCount(); _cl = new ArrayList<Contour>(); for (int ic=0; ic<nc; ++ic) { float fc = (float)_cs.getValue(ic); Contour c = makeContour(fc,_s1,_s2,_f); _cl.add(c); } } }