*/
private NativeCanvas initCanvas() {
if ("true".equalsIgnoreCase(System.getProperty("jogl"))) {
final JoglCanvasRenderer canvasRenderer = new JoglCanvasRenderer(this);
final DisplaySettings settings = new DisplaySettings(width, height, 24, 0, 0, 8, 0, 0, false, false);
return new JoglCanvas(canvasRenderer, settings);
} else {
final LwjglCanvasRenderer canvasRenderer = new LwjglCanvasRenderer(this);
final DisplaySettings settings = new DisplaySettings(width, height, 24, 0, 0, 8, 0, 0, false, false);
return new LwjglCanvas(settings, canvasRenderer);
}