This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
I agree. Here's the link:
subject: Timer(), event
It's not a secret anymore!