Basic HTML version of Foils prepared 18 May 97

Foil 30 Events in the java.awt -- Mouse, Keyboard Interaction - I

From Java Tutorial - Spring 1997 Part 3:Graphics and the Abstract Windowing Toolkit Peking Tutorial, Web Certificate -- Spring-Summer 1997. by Nancy J. McCracken,Geoffrey C. Fox


1 Events ( distinguish these from Exceptions!) are the way the AWT interacts with the user at mouse or keyboard.
2 The AWT calls particular event handlers (analogous to exception or interrupt handlers) when user interacts with system in particular ways.
3 The handling is defined in packages java.awt and java.awt.peer (the machine dependent stuff) with method handleEvent() in class Component(peer)
4 One could add additional capability here for systems with nifty virtual reality and other user interfaces but we won't cover this here!

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Jan 8 1998