super(toolkit, canvas, new JCanvas()); this.canvas = canvas;
super(toolkit, canvas, new SwingCanvas(canvas));
	public SwingCanvasPeer(SwingToolkit toolkit, Canvas canvas) {        super(toolkit, canvas, new JCanvas());		this.canvas = canvas;		SwingToolkit.add(canvas, jComponent);		SwingToolkit.copyAwtProperties(canvas, jComponent);	}