getParentWindow in Custom Method

Is there a way to get the parent window in a custom method, similar to system.gui.getParentWindow(event) without passing in a parameter?

SwingUtils is your friend:

1 Like

Thank you sir