A
Alex Hunsley
Jsut a thought... are classes like JOptionPane, JFileChooser etc. that
show dialogs inherently thread safe?
In other words, does it matter if you're in the event despatch thread
(a.k.a. GUI thread) or not when you call them?
I've had a look at the source for JOptionPane and can see no mention of
SwingUtilities.invokeLater or SwingUtilities.invokeAndWait, so if it is
thread safe, I'm not sure how it's doing it...
alex
show dialogs inherently thread safe?
In other words, does it matter if you're in the event despatch thread
(a.k.a. GUI thread) or not when you call them?
I've had a look at the source for JOptionPane and can see no mention of
SwingUtilities.invokeLater or SwingUtilities.invokeAndWait, so if it is
thread safe, I'm not sure how it's doing it...
alex