This article will show you how to create an interactive, graphics-based
applet by designing only the graphical objects themselves and by specifying
their behavior given some external event (i.e., a mouse click or a button
press). The ipl and ipl.graphics classes and interfaces will let you design
with both notification and interfaces, in order to coordinate communication
between your graphical objects and between the graphical objects and the
display medium (i.e., a canvas object). This article will also show you how
to "wire-up" your interactive applet to buttons in order to give the user
control over your graphical objects.
I will assume that you are familiar with the Observer-Observable design
pattern of notification. The notification scheme used here is adopted from ... (more)