@Override public void mouseDragged( MouseEvent e ) { if ( e.getSource() instanceof GLAutoDrawable ) { if ( isDragging ) { float[] rot = rollTo( e.getPoint() ); if ( rot == null ) { return; } rotateBy( rot ); ( (GLAutoDrawable) e.getSource() ).display(); } } }