Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126828

Mistake in demo code snippets for most of subclasses of javafx.animation.Transition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • None
    • fx2.1
    • javafx

    Description

      ...
      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.

      Attachments

        Activity

          People

            mheinrichs Michael Heinrichs (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: