Extension to Moonbeam Response . Additionally you can say:
Toolikit.getDefaultToolkit().addAWTEventListener()
... and subscribe to all events related to the window. In this case, you will receive information that the window is created immediately.
Alexr source share