@Override
public void reshape(GLAutoDrawable drawable ,int x,int y, int w, int h) {
// Setup wide screen view port
GL gl = drawable.getGL();
gl.glMatrixMode(GL.GL_PROJECTION);
gl.glLoadIdentity();
gl.glFrustum (-1.77777*zoom, 1.777777*zoom, -1.0*zoom, 1.0*zoom, 4.0, 100.0);
this.height = h; this.width = w;
this.drawHeight = (int)((double)width/1.77777);
gl.glViewport (0, (int)((height-drawHeight)/2.0), (int)width, (int)drawHeight);
//double[] proj = new double[16];