@Override
			public void handleEvent(Event event)
			{
				Rectangle bounds = glCanvas.getBounds();
				float fAspect = (float) bounds.width / (float) bounds.height;
				glCanvas.setCurrent();
				try
				{
					GLContext.useContext(glCanvas);
				} catch (LWJGLException e)
				{
					e.printStackTrace();
				}
				GL11.glViewport(0, 0, bounds.width, bounds.height);
				GL11.glMatrixMode(GL11.GL_PROJECTION);
				GL11.glLoadIdentity();
				GLU.gluPerspective(45.0f, fAspect, 0.5f, 400.0f);
				GL11.glMatrixMode(GL11.GL_MODELVIEW);
				GL11.glLoadIdentity();
			}