General discussion

Locked

How to provoke Event and make Listeners

By kentavr ·
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 conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

How to provoke Event and make Listeners

by sbkwi In reply to How to provoke Event and ...

The easiest way is using java beans. Java beans support the concept of customizable events. For details see
http://java.sun.com/products/javabeans/docs/beans.101.pdf

Collapse -

How to provoke Event and make Listeners

by Shanghai Sam In reply to How to provoke Event and ...

Poster rated this answer

Collapse -

How to provoke Event and make Listeners

by kentavr In reply to How to provoke Event and ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums