wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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?

 
Don't get me started about those stupid light bulbs.
 
subject: Dynamic Shapes in FXML