About: (4.2) Add event handling using your own event source
In MyEvent.java:
/* Below two constructors take a source object as argument. Is this a
implementation requirement * in the 'event model'?
*/
public MyEvent(Object source) {
super(source);
}
public MyEvent(Object source, String myEventName) {
super(source);
this.myEventName = myEventName;
}
Can I have constructor which do not take a source object as argument,
and resulting event object still can participate in and take advantage
of the 'event model'?
Thank you.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---