Knute Snortum wrote:I don't think I'm understanding. Why don't you make this a method in the Main class? Or, if you want separate objects, why would instantiating an object be a problem? I think I need to see a chunk on your Main class where you're trying to call the method of a new object.
Remember, all the UI is called from one thread, so if you need to do something that won't hang the UI, it can't be done on the UI thread.
Fred Kleinschmidt wrote:What is "p"? What does setTranslateX() do? You call setTranslateX with an argument of p.getX())+5,
but do you ever set the value of x to that ?