public void keyPressed(KeyEvent e) 
	{
		if(e.getKeyCode() == KeyEvent.VK_ENTER)
		{
			if(success == true)
			{
				nextQuestion();
				return;
			}
			Toolkit.getDefaultToolkit().beep();
			e.consume();
			return;
		}
		
		if(e.getKeyCode() == KeyEvent.VK_F5)
		{
			switchFullscreen();
		}
		
		if(e.getKeyCode() == KeyEvent.VK_F6)
		{
			checkAnswer(0);
		}
		
		if(e.getKeyCode() == KeyEvent.VK_F7)
		{
			checkAnswer(1);
		}
		
		if(e.getKeyCode() == KeyEvent.VK_F8)
		{
			checkAnswer(2);
		}
		
		if(e.getKeyCode() == KeyEvent.VK_F9)
		{
			if(finished == false)
			{
				resetQuiz();
				return;
			}
			Toolkit.getDefaultToolkit().beep();
			e.consume();
			return;
		}
	}