Exception in thread "Animation Thread" java.lang.RuntimeException: You need to use "Import Library" to add processing.opengl.PGraphicsOpenGL to your sketch.
at processing.core.PApplet.makeGraphics(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at processing.core.PApplet.size(Unknown Source)
at Rama.setup(Rama.java:180)
at processing.core.PApplet.handleDraw(Unknown Source)
I'm developing using processing IDE and both pde and java files. The problem that I have here is this:
My main class is in a pde and I can use getCodeBase() with no problem at all, but not on the java files. I've made a public function at my main class, but that doesn't work either and I really need the output of this function on the java file. Any solution?