In my javaFX 2.0 app, I need to replace a component which is used awt.CardLayout. Cardlayout has a functionality as a stack which displays the top component in stack. And also we can manually configure which is to be displayed.
In javaFX 2.0, there is a layout called StackPane. But It doesn’t seems like Cardlayout.
There is no CardLayout, but you can use TabPane or simply switch groups: