This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timer(), event

 
Thana Bujakorn
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic