Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+32 votes
asked in CSC285_Fall2018 by (1 point)

2 Answers

+21 votes
Best answer

In SceneBuilder, type "menu" into the Library search bar in the upper left corner and drag a MenuItem to where the other MenuItems are in the Hierarchy tab. The On Action in the Code section needs to be filled out with the name of the corresponding FXML method that you create in the DrawingFrameController class.

answered by (1 point)
selected by
+19 votes

I figured out a way to add by editing the FXML file in eclipse. If there is any other way to do it i would like to know.

answered by (1 point)