@Override
                public void keyPressed(KeyEvent e) {
                    if (e.getKeyCode() == KeyEvent.VK_ESCAPE) {
                        closeButton.getActionListeners()[0].actionPerformed(null);
                    }
                    if (e.isControlDown() && e.getKeyCode() == KeyEvent.VK_F) {
                        closeButton.getActionListeners()[0].actionPerformed(null);
                    }
                    if (e.getKeyCode() == KeyEvent.VK_ENTER) {
                        findButton.getActionListeners()[0].actionPerformed(null);
                    }
                }