L
Lew
Knute said:This page has a demo that does not do GUI creation on the EDT. ....
None of these actually come out and say that you need to use the EDT for
AWT GUIs as you must for Swing. And a couple actually show examples
without using the EDT.
There are many examples proffered of Swing programs that don't do all
GUI work on the EDT, too. Some of them come from Sun. Sun has
admitted that this was an error and we should not follow that part of
those examples.
The presence of examples that don't take care to stay on the EDT is
not proof that it's safe to do so.
The blog entry that I cited upthread
<http://weblogs.java.net/blog/kgh/archive/2004/10/
multithreaded_t.html>
states outright that AWT was
about safe multithreading.making a promise we couldn't keep
I remain doubtful.