How many EDTs

Hello there:

suppose I have a Swing application, and responding to one of its menu command pop up a model dialog box, which has multiple GUI components in its own right. Since the dialog box has its own message pump (or event queue), does it mean that in this case we have two Event Dispatching Threads? One for the parent frame and the other for the dialog box?

Thanks for your answer,

Sway

[416 byte] By [fathomBoata] at [2007-11-27 6:38:57]
# 1
One EDT. Events get dispatched to the component that has focus.
camickra at 2007-7-12 18:07:53 > top of Java-index,Desktop,Core GUI APIs...
# 2
thank you, camickr.So there is only one EDT per application. Does the claim "a dialog box has its own message pump" still stand? If so, what does it mean exactly?Thanks,Sway
fathomBoata at 2007-7-12 18:07:53 > top of Java-index,Desktop,Core GUI APIs...
# 3
Don't know. What problem are you having?
camickra at 2007-7-12 18:07:53 > top of Java-index,Desktop,Core GUI APIs...