I'm working with a library (batik) but I need to make it behave differently when running in an applet. I've tried doing this in my applet class (by adding events to the SVGDOMDocument) but on reflection it won't cover all edge cases.
Therefore I need to change the way batik handles events when the context is in an applet. What's best practice in this instance? Do I create a class of the same name a s hte one i need to customize and import it after the batik libraries over riding the batik class or do I customize their class and jar it as batik-whatever-customized.jar ?