Returns values from SwingUtilities.invoke