I am curious as to the differences between the following approaches to creating a Swing window:
- Using java.awt.EventQueue.invokeLater() in main();
- Using SwingUtilities.invokeLater() in main();
- not bothering with threads at all, simply instantiating the JFrame subclass and calling setVisible(true) from main without wrapping it inside a Runnable; this seems to work anyway.
Thanks.