javafx - Include a main fxml with few controllers to other fxml layouts -


im doing fxml project using netbeans 8.0.2 , scene builder 2.0 use fx8. want add home button, logout button power button , background css containing fxml main fxml other fxml layouts main displayed , on top of sub fxml displayed. (just include property in php). im using anchor panes hold controllers in fxml. ive came across few methods googling none of them works.

<children> <fx:include source="home.fxml"/> </children> 

was 1st code got included in main.fxml page. didnt work.

 <bottom> <fx:include source="home.fxml"/> </bottom> 

this did not work , gave error saying anchorpane doesnt support bottom tag. great if can point me out ive missed. thank you.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

Python Error - TypeError: input expected at most 1 arguments, got 3 -

dns - How To Use Custom Nameserver On Free Cloudflare? -