I have a non-GUI thread that starts a JFrame using java.awt.EventQueue.invokeLater(new Runnable() { public void run() {
I\'ve been using the following approach to create components and return values from Swing t开发者_开发问答o/from outside the EDT. For instance, the following method could be an extension to JFrame, to