public BasicStrokeEditor(BasicStroke bs) { if (bs != null) { basicStroke = bs; } else { basicStroke = new BasicStroke(1f); }  setStrokeWidth(basicStroke.getLineWidth()); setMiterLimit(basicStroke.getMiterLimit()); setDash(basicStroke.getDashArray()); setDashPhase(basicStroke.getDashPhase()); setEndCaps(basicStroke.getEndCap()); setLineJoins(basicStroke.getLineJoin());
public BasicStrokeEditor() { basicStroke = new BasicStroke(1f);
    public BasicStrokeEditor(BasicStroke bs) {	if (bs != null) {	    basicStroke = bs;	} else {	    basicStroke = new BasicStroke(1f);	}	setStrokeWidth(basicStroke.getLineWidth());	setMiterLimit(basicStroke.getMiterLimit());	setDash(basicStroke.getDashArray());	setDashPhase(basicStroke.getDashPhase());	setEndCaps(basicStroke.getEndCap());	setLineJoins(basicStroke.getLineJoin());    }