Login  Register

Re: useful Java2D bridge

Posted by Brandon Borkholder on Mar 04, 2012; 2:59pm
URL: https://forum.jogamp.org/useful-Java2D-bridge-tp3391708p3798224.html

If you want me to test it, do not hesitate to send a piece of javassist or similar code to instrument the painting methods of my component stack.


That would be great.  I just committed a change that adds a new class to the test code, called glg2d.misc.InstrumentPaint.  If you call InstrumentPaint.instrument() as the first line in your main and then use the GLG2D library, it will print to stderr every time a component gets painted with the SunGraphics2D object.

I'd be very interested to hear about your results.