AWT on the Event Dispatch Thread?
Friday, November 10th, 2006Last night I was teaching my Intro Java class about Swing windows, and specifically discussing the event dispatch thread. I dutifully warned everyone that all creation and update of Swing components had to happen on this thread, usually by calling SwingUtilties.invokeLater(). Then one of my students asked a question that stumped me:
Is the same true for AWT components?
(more…)