@SuppressWarnings("deprecation")
		public void keyPressed(KeyEvent e) 
		{
			int key = e.getKeyCode();

			if (key == KeyEvent.VK_DOWN)
				selected = Math.min(selected + 1, 4);
			if (key == KeyEvent.VK_UP)
				selected = Math.max(selected - 1, 1);
			if (key == KeyEvent.VK_ESCAPE)
			{
				TronFrame.popScreen();
				TronBoard.animator.resume();
			}
			if (key == KeyEvent.VK_ENTER) 
			{
				if (selected == 1) 
				{
					TronFrame.popScreen();
					TronBoard.animator.resume();
				} 
				else if (selected == 2) 
				{
					TronFrame.pushScreen(new OptionsMenu(true));
				} 
				else if (selected == 3) 
				{
					TronFrame.pushScreen(new ControlsMenu());
				} 
				else if (selected == 4) 
				{
					TronFrame.popAll();
				}
			} 
			imageNames();
			repaint();
		}