this.setConnected(false, 1);
this.setMarksStyle("various", 1);
this.setConnected(true, 2);
this.setMarksStyle("point", 2);
this.setColors(new Color[] { Color.RED, Color.BLUE });
this.model.addOnChangeVariableValue(new ChangeVariableListener() {
public void onChangeVariableValues() {
drawGraph();
}
});
this.addMouseListener(this);