Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Event Handling Q

 
Nitin Bhagwat
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ed Lance
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic