Answer the question
In order to leave comments, you need to log in
How can I add an object of my own type to a node?
Good afternoon!
The essence of the question is as follows: I want to make an object that will contain several rectangles. Accordingly, this object must be added somehow like this
FlowPane rootNode = new FlowPane(10,10);
rootNode.getChildren().addAll(myLabel, nButton1, nButton2, *объект в котором группа ректанглов*);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question