• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Shapes in FXML

 
Casey Clayton
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic