Gowrinath

Greenhorn
+ Follow
since Jul 02, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gowrinath

Originally posted by Jennifer Wallace:
Thanks ! validate() resets my textfield beautifully. Sorry for the delayed response. Just saw your reply today.
But looks like I have worked up with the wrong listener. Because apparently, the componentshown method of Component Listener is invoked only once initially (atleast in my code) and is not invoked when the applet is repainted on re gaining focus. This contradicts what I saw in the demo applet of java tutorial. Would this not work on applets ?
Also, I tried a couple of others. They didn't work as well - Focus Listener, WindowFocuslistener, WindowListener (the last 2 work only for windows!)
Which listener should I be using, to capture the moment of my return to the applet screen ?
Thanks,
Jennifer


I think MouseMotionListener and MouseListener will allow you to know your presence in the applet
19 years ago