Do you know how can I close a JDialog from the code? the problem is the following
I have a dialog with an interface a little bit hard, and 2 buttons: accept and cancel
I want that when the user...