This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 133176 - [Preview] Animation does not work in Preview in some cases
Summary: [Preview] Animation does not work in Preview in some cases
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Oleg Barbashov
Keywords: RELNOTE
Depends on:
Reported: 2008-04-18 09:51 UTC by Alexandr Scherbatiy
Modified: 2008-06-04 13:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

Planets app that does not work in the Preview (12.08 KB, application/octet-stream)
2008-05-04 15:00 UTC, Alexandr Scherbatiy

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2008-04-18 09:51:08 UTC
Steps to reproduce:

- Create a JavaFX Script file:
import javafx.ui.*;
import javafx.ui.canvas.*;
import javafx.animation.*;
import java.lang.System;

var angle = 0.0;

var timeline = Timeline {
    keyFrames:  KeyFrame { time: 1s values: angle => 360 tween Interpolator.LINEAR }
    repeatCount: java.lang.Double.POSITIVE_INFINITY


    width: 100
    height: 100
    title: "Example"
    onClose: function(){ System.exit(0);}
    content: Canvas{
        content: Group{ 
            transform: Transform.translate(25, 25)
            content: Rect{
                x: 25
                y: 25
                width: 50
                height: 50
                fill: Color.ORANGE
                transform: bind  Transform.rotate(angle, 0, 0)
visible: true    

- Enable the preview
  The rectangle is not rotated in the Preview
Comment 1 Alexei Mokeev 2008-04-18 10:03:53 UTC
Works fine for me with 04/17 build.
What is your build number ?
Comment 2 Alexandr Scherbatiy 2008-04-18 10:43:49 UTC
Comment 3 Oleg Barbashov 2008-04-21 12:37:50 UTC
Works with the latest runtme.
Comment 4 Alexandr Scherbatiy 2008-04-28 09:21:59 UTC
Comment 5 Alexandr Scherbatiy 2008-04-28 09:55:49 UTC
- Create a Clock example from 'Samples|JavaFX|Best Practices|Input|Clock' samples
- Run the sample
  A frame with working clock appears
- Enable th preview
  The clock does not work in the Preview

Comment 6 Alexandr Scherbatiy 2008-04-29 13:22:06 UTC
The Animation works fist time but does not work second and others times.
Comment 7 Alexandr Scherbatiy 2008-05-04 15:00:28 UTC
Created attachment 61022 [details]
Planets app that does not work in the Preview
Comment 8 Oleg Barbashov 2008-06-03 16:26:38 UTC
Comment 9 Alexandr Scherbatiy 2008-06-04 13:17:12 UTC