...
TranslateTransition tt = new TranslateTransition(SEC_2);
tt.setFromX(-100f);
tt.setToX(100f);
tt.setRepeatCount(2f);
tt.setAutoReverse(true);
....
calling for nonexistent method setRepeatCount(int arg)
I believe that author meant javafx.animation.Animation.setCycleCount(int arg) instead.
http://goo.gl/1D351
I believe that this problem exist for 9 different demo snippets of Transition sub-classes in JavaFX 2.1
PS This is my first bug/issue report. Please, correct me If I'm wrong. Thank you.
TranslateTransition tt = new TranslateTransition(SEC_2);
tt.setFromX(-100f);
tt.setToX(100f);
tt.setRepeatCount(2f);
tt.setAutoReverse(true);
....
calling for nonexistent method setRepeatCount(int arg)
I believe that author meant javafx.animation.Animation.setCycleCount(int arg) instead.
http://goo.gl/1D351
I believe that this problem exist for 9 different demo snippets of Transition sub-classes in JavaFX 2.1
PS This is my first bug/issue report. Please, correct me If I'm wrong. Thank you.