Richard Bair wrote:
My impression was that this is what BeanInfo classes should be used for. You can specify the editors for specific properties in the BeanInfo classes using the PropertyEditor interface. As an added bonus it is an already established standard/interface, which should make it that much easier for people to plug in their own appenders.The cool thing about this idea is that we'd be able to set properties for any given appender without the need of a ton of custom code. I'm in the process of building a guibuilder right now as well, so reflection and property sheets are almost second nature ;-)The one drawback I see with going this route is that creating a really generic tool sometimes means that the user interface isn't as intuitive. For instance, I think it would make for a cleaner UI to provide the user of a FileAppender a checkbox for bufferedIO and Append, and a spinner control for the BufferSize (or maybe an editable combo box) rather than providing a table that would list each of the properties and would use a different editor depending on the datatype (like the property sheet in VB or the guibuilder I've been writing).
Disclaimer: I've never actually done this so I don't know if it is really viable.
Ray
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]