2
I made the following structure so that when I make one of the components invisible, the others follow the same configuration.
A.visibleProperty().bindBidirectional(B.visibleProperty());
A.visibleProperty().bindBidirectional(C.visibleProperty());
A.visibleProperty().bindBidirectional(D.visibleProperty());`
It works perfectly, however, I would like to find a way to do this more directly, example:
A.bindBidirectional(B.bindBidirectional(C));
something to that effect. If anyone knows how to help, please respond. Thank you.