paint program using canvas

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
making a promise we couldn't keep
about safe multithreading.

I remain doubtful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,119
Latest member
IrmaNorcro
Top