We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi ! I'm really stuck on the problem for several days. I wanted to develop a plugin for visualization of ontologies so i decided to embed / integrate Processing in Protege4 as a view component. I've searched a lot and also tried Processing 3 and Processing 2 but neither worked for me. The error when working with Processing 2: RuntimeException: You need to use "Import Library" to add processing.core.PGraphicsJava2D to your sketch. processing.core.PApplet.makeGraphics(PApplet.java:1952) processing.core.PApplet.init(PApplet.java:981) processing.core.PApplet.runSketch(PApplet.java:10840)...
When I work with Processing3+ I tried to do it with the solution here: https://stackoverflow.com/questions/36565159/adding-processing-3-to-a-jpanel but got an error in eclipse: "ProcessingTest.initSurface() is not visible". Then I added the initSurface() in the ProcessingTest but still wrong: processing.awt.PGraphicsJava2D renderer is not in the classpath (But I'm really sure that I have added it to the build path)
So my question: is it possible to integrate Protege with Processing? Really need help! Thanks in advance!