*Created by: benfry* There's some useful information here about all the necessary work: https://github.com/codeanticode/processing-lwjgl/wiki#making-awt-optional-in-papplet Mostly it involves moving a few things into `Surface`, so that only AWT surfaces will invoke AWT methods.