I am having troubles on part b of the Drawing App, although I have added code into the MainWindowController class, the CanvasEditor class, and the SelectionTool class respectively, the key does not seem to be triggered. How can I do it?
I suggest you use the " setOnKeyPressed " method to handle the event.
Thank you Leroy, actually someone else has asked this before me and Professor Stonedahl gave us a pretty clear answer.