Link to home
Start Free TrialLog in
Avatar of dpon
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?
Avatar of jpk041897
jpk041897

I'm not actualy sure if it will help, but there is some excellent coverage on events at:

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?
Have you considered writting your own dispatch handler?
ASKER CERTIFIED SOLUTION
Avatar of mann061997
mann061997

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial