// Create the 3D canvas
myCanvas = DisplaySystem.getDisplaySystem( "lwjgl" ).createCanvas( width, height );
myCanvas.setMinimumSize( new Dimension( 0, 0 ) ); // Make sure it is shrinkable
myCursorChanger.setComponent( myCanvas );
final JMECanvas jmeCanvas = ( (JMECanvas) myCanvas );
// Set the renderer that renders the canvas contents
myCanvasRenderer = new MyCanvasRenderer( width, height, my3DNode, myCanvas );
jmeCanvas.setImplementor( myCanvasRenderer );
// Add navigation gesture listeners to the created 3D canvas
for ( NavigationGesture navigationGesture : myNavigationGestures )
{
registerNavigationGestureListener( navigationGesture );