PDFBox with processing 3+

Hi all - Has anyone got an example where they’ve used PDFBox to import a PDF as graphics into processing 3 or higher? I see a few examples within the processing two forum but i’ve had zero luck making them work unfortunately.
Thanks,
Matt

Could you point out which example you are working with?

…and perhaps briefly show the code for how you tried to adapt it, and what errors stopped you?