I need to be able to capture all user events. I am using the Toolkit.getDefaultToolkit().addAWTEventListener() to register a listener for the events. I am able to get FocusEvents and others, but I never recieve an ActionEvent. I thought I would recieve one when a user clicked on a button? Any one know what I am doing wrong?
posted 14 years ago
ActionEvent consists of multiple low level events such as KeyEvents or MouseEvents. I suppose that is the reason you don't get notified. Take a closer look at the inheritance structure of the Event classes. chantal