RFE: get/setFPS

Hi Ken, it seems FPSAnimator is not complete with a get and set for frames per second. I would like to be able set fps at runtime. you only need to add:


public synchronized void setFPS(int fps){this.fps = fps;}
public synchronized int getFPS(){return fps;}

Given the API of java.util.Timer (which the FPSAnimator uses) it isn’t that simple. You would basically need to cancel the timer and start a new one with a different delay. Given this it isn’t clear to me that we should add this. Feel free to either file an RFE or if you’re willing to prototype this then a Patch.