On Monday 07 January 2002 21:06, Warren W. Thompson wrote: > Thank you pointing me in the right direction Thierry! :) > > I would like something a little more generic than creating a different > SVG element for every Swing component. I think it might be possible to > make something like... > > <batikSwing:awtComponent style="class:javax.swing.JButton;foreground:red" > .../> > > ...so that all of the existing Swing components would be available, > as well as any custom components that a developer may have created. > > Does this sort of approach sound feasible?
absolutely. Swing components are JavaBeans so introspection is easy to do to set properties and instantiate your class. Thierry. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]