how to intercept all events sent to subcomponents of a JFrame
843804May 15 2002 — edited Sep 15 2005Hello.
The title says everything, i think.
I need to make a gui where there would be a user validity timeout if no action is done during a certain period. (then, a modal dialog would show up, asking for a login/pass).
I could do that by modifying each and every swing components to have some date of last use" data, and a thread in the window, bla bla bla... but this is too heavy and crappy to me.
What i would like to do is intercept all events, note the date, and send them normally to who they were sent to originally.
Has anyone an idea?