I’m new to Processing and also to Java (but not to SW otherwise). I’m trying to piece together a WindowAdapter, and eventually an window listener, but have trouble getting this import to work:
It gives me the error message
“No library found for processing.awt.PSurfaceAWT”
What do I need to do to resolve this?
Thanks in advance
EDIT: I have kept on trying, without really knowing what I am doing, when it comes to the imports. I now have this
And no longer get any error regarding the import statements. But what I really try to do is this, which I got from another topic here on the community forum:
PSurfaceAWT frame = (processing.awt.PSurfaceAWT.SmoothCanvas)getSurface().getNative().getFrame();
This gives the error
“Type mismatch: cannot convert from PSurfaceAWT.SmoothCanvas to PSurfaceAWT”
So I’m stuck again.