@Override
    public void mousePressed(MouseEvent e) {
        if (e.getComponent().equals(getAboutButton())) {
            this.makeInvisible();
            getAbout().makeVisible();
        } else if (e.getComponent().equals(getOptionsButton())) {
            this.makeInvisible();
            getOptions().makeVisible();
        } else if (e.getComponent().equals(getExitButton())) {
            this.exit();
        }

        if (isFocus()) {
            if (getPopupMenu().isVisible()) {
                getPopupMenu().setVisible(false);
            }

            if (e.getButton() == MouseEvent.BUTTON3) {
                getPopupMenu().setLocation(e.getLocationOnScreen());
                getPopupMenu().setVisible(true);
            }
        }
    }