Bug 27455 - Problem with MouseListener on JFrame
Summary: Problem with MouseListener on JFrame
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: 0.91
Assignee: Roman Kennke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 12:46 UTC by Yvan Norsa
Modified: 2006-05-07 20:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
TestCase for MouseListener on JFrame (296 bytes, text/x-java)
2006-05-06 12:46 UTC, Yvan Norsa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Norsa 2006-05-06 12:46:17 UTC
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.
Comment 1 Yvan Norsa 2006-05-06 12:46:51 UTC
Created attachment 11389 [details]
TestCase for MouseListener on JFrame
Comment 2 Sven de Marothy 2006-05-07 00:18:08 UTC
Fixed as per my commit to classpath May 7-2006.