Originally posted by Avi Abrami:
So, what can I conclude from the lack of responses?
No one understands the question?Everyone builds their Swing applications the way I am currently doing?There are no Swing experts in this forum?All of the above?None of the above
Cheers,
Avi.
You could conclude that everyone on this board are volinteering their own time for no other reason than to help the
Java community and your list could be taken as a bit insulting regardless of the smilie.
As far as your real question, I see no reason to wrap the invokation in a SwingUtilities.invokeLater() method unless the JDialog's constructor takes a long time (more than 1-2 seconds) to build and show the JDialog and you want your application to still be responsive while waiting for the JDialog to open. However, as JDialog's go, even if it took 2-3 *minutes* for it to open, you probably aren't wanting the user to interact with the GUI during this time anyway.