aspose file tools
The moose likes Beginning Java and the fly likes Timer(), event Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Timer(), event" Watch "Timer(), event" New topic

Timer(), event

Thana Bujakorn

Joined: Dec 18, 2002
Posts: 12
I need to do an animation with series of pictures. The only way I know is to use the Timer Object, but its constructor required an event to trigger the animation in the panel. The problem is that, the animation will be driven by a method from another class, not the GUI and therefore, has no event. How do I create anevent in this case? Or any other suggestions!? Please help! Thanks
It is sorta covered in the JavaRanch Style Guide.
subject: Timer(), event