I am doing a program with a registrar. The registrar has its own JFrame. I am trying to cancel the reaction by clicking on the button with a minimal click on this frame. I would like the frame to be either setVisible (false) or do defaultCloseOperation (since I set this to hide earlier).
How should I do it? thanks in advance
source
share