This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Event Handling Q Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Event Handling Q" Watch "Event Handling Q" New topic

Event Handling Q

Nitin Bhagwat
Ranch Hand

Joined: Sep 09, 2004
Posts: 132
Hope this is right forum for this question...

Just trying to move '*' after single mouse click. Looks like paint method is executed only once even it is in for loop.

"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
Ed Lance
Ranch Hand

Joined: Aug 02, 2000
Posts: 38
It's been a while but since no one else is responding I'll take a shot.
Try the update method in your BaseApplet class, as I recall it takes a Graphics object as an argument and will refresh the screen for you.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Event Handling Q
Similar Threads
Event Handling Question
Instance of Graphics ,g , can't be recognized in applen
java program
Hey ranchers...a lil help here plz
What can be done to stop flickering of the image??