[5032] in java-interest

home help back first fref pref prev next nref lref last post

Event processing

daemon@ATHENA.MIT.EDU (Todd E. Gee)
Fri Jan 26 13:29:24 1996

Date: Fri, 26 Jan 1996 11:09:41 -0500
From: "Todd E. Gee" <tgee@eecs.umich.edu>
To: java-interest@java.sun.com


Hey all,

Seems like, according to the API, events will be passed to a parent's
handleEvent() rountine if the child's handleEvent() returns false.

I have a class:
public class RepApplet extends Applet {

	public synchronized boolean handleEvent(Event e) {
		System.out.print("Event:  ");
		System.out.println(e.toString());
		return true;
	}
}


And then another class which extends RepApplet.  The second class always
returns 'false' from its handleEvent() but RepApplet.handleEvent() never
gets called.  Anyone have any wisdom regarding this?

Ten-q, ten-q, ten-q,
Todd

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post