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

Bound KeyFrame times cause timeline animation to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • fx1.1.1
    • javafx
    • Windows XP SP2, Netbeans 6.5.1, Javafx 1.1.1

      The attached file uses a timeline to display a "mask" and then a "stimulus" (red square). This repeats 3 times when you click the 'play' button.
      The durations of the mask and stimulus are defined in the script, however the stimulus duration is modifiable using the displayed Slider.

      If you run the script and leave the values as default, clicking play causes the elements to display correctly, ie at the correct durations.

      However, moving the slider up to say 2.0 seconds causes the animation to fail and elements are not displayed correctly.

      Note that this problem goes away if you move the timeline declaration to within the action() function of the SwingButton.

            kcr Kevin Rushforth
            mhegartyjfx Matt Hegarty (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: