Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Question about bindings on JavaFX 2.0

865172May 28 2011 — edited May 28 2011
Hi, i'm playing a little with the beta version, and testing experiments done on 1.3 migrating them.
Then,
on JavaFX 1.3 had this simple variable definition with bindings for an object to move:

public var velocity : Number;
public var angle : Number;
public var vx : Number = bind velocity*Math.cos(angle);
public var vy : Number = bind velocity*Math.sin(angle);

Now, with JavaFX 2.0 i'm a little confiused on how to do the same thing??
some suggestion?
Thanks.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 25 2011
Added on May 28 2011
2 comments
119 views