private void keyActionPerformed(final KeyEvent e) {
        if (e.isControlDown()) {
            if (e.getKeyCode() == KeyEvent.VK_N) {
                this.actionPerformed(new ActionEvent(e.getSource(), -1, "New"));
            } else if (e.getKeyCode() == KeyEvent.VK_O) {
                this.actionPerformed(new ActionEvent(e.getSource(), -1, "Open"));
            } else if (e.getKeyCode() == KeyEvent.VK_S) {
                this.actionPerformed(new ActionEvent(e.getSource(), -1,
                        "Save  "));
            } else if (e.getKeyCode() == KeyEvent.VK_P) {
                this.actionPerformed(new ActionEvent(e.getSource(), -1, "Print"));
            } else if (e.getKeyCode() == KeyEvent.VK_Z) {
                this.actionPerformed(new ActionEvent(e.getSource(), -1, "Undo"));
            } else if (e.getKeyCode() == KeyEvent.VK_F) {
                this.actionPerformed(new ActionEvent(e.getSource(), -1, "Find"));
            } else if (e.getKeyCode() == KeyEvent.VK_H) {
                this.actionPerformed(new ActionEvent(e.getSource(), -1,
                        "Replace"));
            }
        }
    }