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 ?