I’m currently working on a project to develop a simple testing tool for Processing, and I’ve run into a bit of a roadblock. Here’s what I’m trying to achieve:
- Adding a New Sketch Tab: I want the tool to seamlessly add a new sketch tab where users can write test cases for their sketches.
- Incorporating a ‘Run’ Button: Additionally, I’d like to include a ‘Run’ button within the Processing IDE that allows users to execute the test tool.
I’ve used the addFile()
method, but it seems to add existing files to the project. When I attempt to use Java files, I encounter errors when running the tool in Processing. I’ve also come across a post by quark who was attempting something similar, but the information provided wasn’t quite enough for me to figure it out.