Just in case anyone else has struggled with this… it turned out to be an issue with the JOGl libraries I had brought over from Processing to netbeans and how I had installed them.
Once I downloaded the libraries direct from jogAmp and follwed this tutorial to install them
everything is working fine when running my sketches in netbeans now