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.

Categories

+14 votes

I was trying to add the plot summary text area. But I'm getting the text area is null error when I click add button. Before it opens the scene where we add the information for the movie.

asked in CSC305 Fall 2022 by (1 point)

2 Answers

+7 votes

Make sure to create setPlotSummary and getPlotSummary methods in your movie class and give a private datafield of plotSummary. Also, make sure to use them in the addeditmoviecontroller class.

answered by (1 point)
+6 votes

figured it out. I forgot to write fx:id

answered by (1 point)
...