Hi ... I'm hoping someone can explain what I've done wrong in the following:
The example code is from "
Java Certification Exam Guide" by Barry Boone. The original code works fine, it creates an
applet and adds two custom canvas components as seperate threads. It then updates the canvas items each time the user clicks on the mouse, displaying the number of mouse-clicks.
The code uses the JDK 1.0 event handling model. I thought I could re-write it to use the new model by simply adding a MouseListener; however, the canvas threads are not being updated when I click on the applet.
Thanks in advance for any help.
------------------
Jane
The cure for boredom is curiosity.
There is no cure for curiousity.
-- Dorothy Parker