How to provoke Event and make Listeners - TechRepublic
General discussion
October 9, 2001 at 07:06 AM
kentavr

How to provoke Event and make Listeners

by kentavr . Updated 24 years, 6 months ago

I want to make object which can provoke EVENTs (not an AWT-event, it would be internal-program event) and want to add Listener objects, which can handle this EVENT.

I can make this with using of Observer class, but in such way I can’t provoke different types of EVENT..

In what way I can do it ?

This discussion is locked

All Comments