@Override
    public void mouseClicked(MouseEvent e) {
        p = e.getPoint();
        if(hideButton.contains(p) && hide == false){
            hide = true;

        }else if(hideButton.contains(p) && hide == true){
            hide = false;
        }

    }