File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Event Handling Q" Watch "Event Handling Q" New topic
Author

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Event Handling Q