I'm wondering if you had an elegant workaround for this problem: assuming that you have an UI object with a rather complex paint method, is there a simple way to export the rendered graphics to a file?
The ideal case would be if there was a way to create a jpatcherview object manually and then invoke the paint method on it, but I think that's not possible. On the other hand, I'd like to avoid refactoring my paint method into pieces of code which don't rely on an actual patcherview (as my paint method is using many box layers, this would be rather inefficient anyway).
P.S. BTW, I guess the best I could achieve is a PNG export at the end of the day, but if you knew of any trick to export the graphics into an SVG file, don't keep it for yourself. ;-)