public void recallCurveStates(DataSet ds) {

		int i, j;

		if (ds.getLineStroke() != null) {

			i = (int) ds.getLineStroke().getLineWidth();
			comboBox[0].setSelectedIndex(i);

			for (j = 0; j < LineStyle.STROKES.length; j++) {
				if (Arrays.equals(ds.getLineStroke().getDashArray(), LineStyle.STROKES[j].getDashArray())) {
					i = j;
					break;
				}
			}
			comboBox[1].setSelectedIndex(i);

		}

		i = 6;
		for (j = 0; j < ColorRectangle.COLORS.length; j++) {
			if (ds.getLineColor() == ColorRectangle.COLORS[j]) {
				i = j;
				break;
			}
		}
		comboBox[2].setSelectedIndex(i);
		if (i == ColorComboBox.INDEX_MORE_COLOR) {
			ColorRectangle cr = (ColorRectangle) comboBox[2].getRenderer();
			cr.setMoreColor(ds.getLineColor().getRed(), ds.getLineColor().getGreen(), ds.getLineColor().getBlue());
		}

		for (j = 0; j < LineSymbols.SYMBOLS.length; j++) {
			if (ds.getSymbol() == LineSymbols.SYMBOLS[j]) {
				i = j;
				break;
			}
		}
		comboBox[3].setSelectedIndex(i);

		spacingSlider.setValue(ds.getSymbolSpacing());
		sizeSlider.setValue(ds.getSymbolSize());

	}