private void key(KeyEvent event, boolean pressed) {
        if (this.hasFocus()) {
            if (event.getKeyCode() == KeyEvent.VK_ALT && event.isControlDown()
                    && isFullscreen) {
                // Special case for Ctrl-Alt-Ins to be mapped to
                // Ctrl-Alt-Delete.
                // stream_.keyEvent(pressed,
                // keyMap.getMappedKey(KeyEvent.VK_DELETE));

                // Exitfullscreen
                screen.dispose();
                isFullscreen = false;
                // screen = null;
            } else if (event.getKeyCode() == KeyEvent.VK_ALT
                    && event.isControlDown()) {
                /* For now disabling Ctrl-Alt fullscreen support
                final Container root = getParent().getParent();
                root.remove(getParent());
                VNCFullscreen fc = new VNCFullscreen((JPanel) getParent(),
                        this, true, getParent().getBackground());
                fc.addWindowListener(new WindowListener() {
                    public void windowActivated(WindowEvent e) {
                    };

                    public void windowClosed(WindowEvent e) {
                        root.add(getParent());
                        setMaxHeight(getParent().getHeight());
                        setMaxWidth(getParent().getWidth());
                        root.invalidate();
                        root.validate();
                        invalidate();
                        repaint();
                        requestFocusInWindow();
                    };

                    public void windowClosing(WindowEvent e) {
                    };

                    public void windowDeactivated(WindowEvent e) {
                        ((VNCFullscreen) e.getComponent()).dispose();
                    };

                    public void windowDeiconified(WindowEvent e) {
                    };

                    public void windowIconified(WindowEvent e) {
                    };

                    public void windowOpened(WindowEvent e) {
                    };
                });
                requestFocusInWindow(); */
            } else {
                int keysym = keyMap.getKeysym(event);
                if (keysym != -1) {
                    stream_.keyEvent(pressed, keysym);
                }
            }
            event.consume();
        }
    }