Adding a MouseListener directly to a JFrame (and not to its content pane) doesn't seem to work. The listener methods are not called. See attached testcase. Tested with cacao and jamvm. Behavior with Sun JVM : mousePressed() is called. Classpath version : HEAD from 05-06-2006.
Created attachment 11389 [details] TestCase for MouseListener on JFrame
Fixed as per my commit to classpath May 7-2006.