Probe with dispose and setVisible but first of all, they hide, they do not close, and besides, they would not be working for me. I needed to close it completely, not just hide it.
The windows that are open are those of administrator and / or operator, I would need to close the window from which I am when I open one of those two:.