Thanks, @slow_izzm.
Yeah, it looks like the only way I can use a callback in Processing is with Java Reflection which, apparently, is to be avoided at all costs by anyone who isn’t an advanced developer; which clearly I am not.
Might need to explore a new path. Thanks again