Hi, I'm writing the application, which should run as a VST plugin and draw some shapes depending on MIDI events. I use wrapper jVSTwrapper.
When I run my VST plugin, which initializes PApplet, error occurs:
** java.lang.RuntimeException: You need to use "Import Library" to add processing.core.PGraphicsJava2D to your sketch.
at processing.core.PApplet.makeGraphics(Unknown Source)
at processing.core.PApplet.init(Unknown Source)
at VstPlugin.MidiVisualizer.<init>(MidiVisualizer.java:48) ( pApplet.init() )
I already imported core.jar, I also imported it to jre/lib/ext file. When I use jframe or another swing component for visualization instead of Papplet, it works just fine...