dpon
asked on
Dispatching events to the event queue.
I'm trying to generate an event and dispatch it to a component. However, the only way I can find to do this is to use Component.deliverEvent() or Component.postEvent(). The problem with these functions is that they call Component.HandleEvent() directly. Instead, I want to queue the event behind any other events currently waiting to be handled by the receivng component. Is this possible and how do I queue and event?
Have you considered writting your own dispatch handler?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.phrantic.com/scoop/Java000.htm
The info on these pages might give you some insight on how to solve your problem.
As an aside, since events can subcalsed, Have you conided writing your own dispatch table?