This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes JavaFX and the fly likes Dynamic Shapes in FXML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Dynamic Shapes in FXML" Watch "Dynamic Shapes in FXML" New topic
Author

Dynamic Shapes in FXML

Casey Clayton
Ranch Hand

Joined: Feb 17, 2014
Posts: 41
I have a JavaFX Application with the layout done in FXML. Currently it has a small controller to receive inputs from the TextFields and animate a rectangle based on those inputs, this rectangle is hard coded into the FXML (called "box") which really isn't what I need, that was for testing purposes only. What I really need to do is loop through an array of objects and create rectangles for each of those objects based on their properties and then be able to animate those. What is the best way to go about doing this?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic Shapes in FXML
 
jQuery in Action, 3rd edition