> 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).

Maybe it has specific gui for "known" appenders, but falls back to a generic
table for "unknown" appenders.  Maybe developers could include "plugins"
that describe an interface that can be used to display their settings.  But,
there is always a generic fallback.

> But I don't know.  Maybe a good property sheet using reflection would
> rock over all.  I'd be able to reuse a lot of my other code (its
> LGPL'd), and it really WOULD provide for all different appenders.

There is raging debate going on right now within the jakarta committers
about the use of LGPL code.  Even though LGPL is supposed to be less
restrictive than GPL, it still is not compatible with the way java "links"
code, and by Apache policy, LGPL code cannot be included in Apache projects
(at least that seems to be the gist of what I have read).  And all code
released by Apache has to be released under the Apache 1.1 license.  Just an
fyi.

> Incidently, I was using java 1.4 for its java.beans package and
> functionality.

It would be nice if it could run under jdk 1.2 or later.  Have you looked at
the commons-beanutils?

http://jakarta.apache.org/commons/beanutils.html

thanks!
-Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to