private KeyAdapter fullscreenKeyController() {
		return new KeyAdapter () {
        	
        	public void keyPressed(KeyEvent evt) {
        		if (evt.getKeyCode() == KeyEvent.VK_ESCAPE) {
        			GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();
        	        gd.setFullScreenWindow(null);
        	        setVisible(false);
        	        documentUI.aboutToExitFull(pageNum);
        	        if (timer.isRunning()) 
        	        	timer.stop();
        	        dispose();
        		} else if (evt.getKeyCode() == KeyEvent.VK_SPACE) {
        			if (timer.isRunning()) 
        				timer.stop();
        			else
        				timer.start();
        		}
        		else if (evt.getKeyCode() == KeyEvent.VK_1)
        			onePage();
        		else if (evt.getKeyCode() == KeyEvent.VK_2)
        			twoPages();
        	}
        };
	}