Now that I think about it, we should totally have a “PaintableComponent” component, where you provide its painting code in Jython using Java2D. All you’d need is a hook into the repaint event.
I think we might just have to sneak this into the 3.2.0 release…
Thanks for the idea!