GDay All,
I am new here and new to JavaFX, so be gentle with me, please.
To outline my issue, I have a stage with the following:
AnchorPane (Main Scene/Window)
MenuBar
SplitPane
--AnchorPane (fxcid=leftPane)
--AnchorPane (fxcid=rightPane)
The AnchorPane fxcid=leftPane contains buttons and icon images only. This pane remains static and does not need to change.
When I click on a button in leftPane, I would like to load the scene.fxml for the AnchorPane (fxcid=rightPane) when I click on it's button in leftPane.
First of all, how would I address the AnchorPane fxcid=rightPane specifically and load a new scene into it?
All of the tutorials and code examples I have found and followed all seem to show how to switch 2 scenes (Panes) and fail when I try to expand them to cover 9 different scenes (Panes). Of course, all the tutorials all seem to address every type of pane except an AnchorPane within a SplitPane ... lol
Am I going about this the wrong way?
Clearly, I am missing something.
I would appreciate any help you can offer.
Thanks in advance!