Add keylistener to InternalFrame, not canvas