can't get my animation to work, unsporrtedOperationException

  1 post   Feedicon  
Replies: 0 - Last Post: April 11, 2011 14:09
by: aofer
showing 1 - 1 of 1
 
Posted: April 11, 2011 14:09 by aofer
Hi, as a part of my 4th year software engineering project we have created an application that runs several path finding algorithms for multiple agents. (A* for example)

The algorithms uses a grid map and i created all the necessary gui using java swing.

I needed a way to animate the changes in the open and closed list of the A* algorithm, what i had in mind is that every time a state enters one of the list it will raise an event that will trigger a color fade animation.

I saw the example of that snake you made, that uses mutliple timelines.
i tried copying almost everything and integrate it into my projects except that in my case the setRollover (or doAnimation in my case) is trigged by an event and not by the mouse.

when i try to run it i get the following exception:

Exception in thread "Thread-5" java.lang.UnsupportedOperationException: Only infinite looping is supported

I wasn't sure what that meant and what i did wrong.

I would really appreciate it if someone could tell me what this exception mean and perhaps what i did wrong.

I didn't want to post the entire code because the classes are quite long. so i will post them if needed.

thanks in advanced,

Amit Ofer
Replies: 0 - Last Post: April 11, 2011 14:09
by: aofer
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close