posted 23 years ago
Barry,
I have not yet found out how to do it nicely. What I do in the short term is to override the component and handle the event myself. What this allows me to do is to call the processEvent method of my component. All AWT components have protected access to their processEvent methods; therefore, I can't call them unless I extend the components. I usually override the processEvent method with a public accessor. That way I won't have any trouble calling it from whereever I like ...
Here is a simple example showing the concept:
Hope this helps,
Manfred.