Serialize PApplet
in
Programming Questions
•
2 years ago
Hi guys, I'm working on an academic research project and we're using MT4j which uses Processing for graphical output.
I'm trying to serialize an PApplet and I'm getting the following error:
- java.io.NotSerializableException: processing.core.PApplet$RegisteredMethods
One way to fix it is to make the RegisteredMethod class implement Serializable, is it safe to do this? Also, is the only way to solve this problem?
2