I've seen a lot of Swing app setups, and I always wonder what exactly makes them blocking until the close button is pressed, like in the official:
I mean, if SwingUtilities.invokeLater
is async, where is the main thread blocking?
I've seen a lot of Swing app setups, and I always wonder what exactly makes them blocking until the close button is pressed, like in the official:
I mean, if SwingUtilities.invokeLater
is async, where is the main thread blocking?
The main thread isn't blocked or sleeping at all. It has exited.