Load dynamic splitpane in javafx using fxml files

481 views Asked by At

I have a main jfx class having splitpane. On the lefthand side, I have a treeview and right side is blank. This is created using main fxml file. Now the requirement is the right hand side of splitpane should be loaded based on event of the treeitem on the lefthandside of the pane. Of course the righthandside should display contents of the new fxml file.

Can anybody provide a small example in order to achieve this?

0

There are 0 answers