Having thought about this some more, I'm not entirely sure that my patch is the way to go.
Might be best to allow a System property mechanism to define the additional L&F's to install on initialisation, and then just provide a Menu item to allow the user to select a particular L&F that Swing recognizes. Also store the chosen L&F in the preferences and us that if set on startup. > -----Original Message----- > From: Paul Smith [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 19 March 2003 11:03 AM > To: Log4j-Dev (E-mail) > Subject: [Chainsaw]: Patch for Chainsaw to enable > configurable Look and > Fe el > > > Find attached a patch which uses a series of strategies to > initialise the > Swing L&F. Currently it looks for a system Property > "chainsaw.laf" with a > classname, and uses that if set, otherwise defaults to the > System Look and > Feel. More strategy definitions are easy to plug-in. > > I've tested this against the Metouia L&F @ http://mlf.sourceforge.net/ > > cheers, > > Paul Smith > <<patch-chainsaw-laf-strategies.txt>> > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]