I made the following structure so that when you 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 though, I'd like to find a way to do this more directly, eg:
A.bindBidirectional(B.bindBidirectional(C));
something like that. If anyone knows how to help, please respond. Thank you.