Hi,
I dont have the time to properly
test this and give you a definite answer right now,
But I suspect it is because you havent actually assigned the Mouse Listener to the Drawing Panel.
Try something like this: drawPanel.addMouseListener(new MouseAdapter....
Assigning the Mouse Listener to the drawing panel should then detect mouse events that occur on the drawing panel.
Sorry havent time to produce complete code for you, but try the above and let me know if it works or not.?
Cheers,
Steve