Ver originalmiJDialog.addWindowListener(new WindowAdapter() { @Override public void windowClosed(WindowEvent e) { refrescarUsuarios(); }});