public void keyPressed(KeyEvent e) {
		float cx, cy;
		switch (e.getKeyCode()) {
		case KeyEvent.VK_MINUS:
			cx = view.getCenterX();
			cy = view.getCenterY();
			view.setWidth((int)(view.getWidth() / 1.1));
			view.setHeight((int)(view.getHeight() / 1.1));
			view.setCenterPosition(cx, cy);
			break;

		case KeyEvent.VK_EQUALS:
			cx = view.getCenterX();
			cy = view.getCenterY();
			view.setWidth((int)(view.getWidth() * 1.1));
			view.setHeight((int)(view.getHeight() * 1.1));
			view.setCenterPosition(cx, cy);
			break;

		case KeyEvent.VK_ESCAPE:
			this.showSelector();
			break;


		case KeyEvent.VK_RIGHT:
			//pan(-10, 0);
			break;

		case KeyEvent.VK_LEFT:
			//pan(10, 0);
			break;

		case KeyEvent.VK_UP:
			//pan(0, 10);
			break;

		case KeyEvent.VK_DOWN:
			//pan(0, -10);
			break;
		}
	}