/** * Create an instance with a possibly shared transform. * * @param component the component used for rendering * @param delegate the transformer to use */ public LensTransformer(Component component, MutableTransformer delegate) { super(delegate); setComponent(component); component.addComponentListener(new ComponentListenerImpl()); }