Related question: Nodes - Choose the Layer to appear JavaFX2
I\'m using JavaFx 8 with SceneBuilder 2. I have a number of panes as children of a StackPane and I would lik
You could try setting the visibility to false. To do that, call setVisible(false) on the node you'd like to render invisible in the StackPane.
setVisible(false)
See Node::setVisible
The answer is to set the background colour of the panes. Opacity has no effect without first setting a background colour.