BufferedImage is not a panel. It's merely an image.
The panel object is what would need to interact with keyboard/mouse etc.
(Note: ideally, it would be better to use raw Swing or JavaFX, instead of using the DrawingPanel from CSC 211 -- it was meant for educational purposes, not for building real software / games.)