Hi Laurent, Am 30.06.2009 um 10:56 schrieb Laurent PETIT:
the name of the library is very general, while when reading its description it seems that it handles just a particular kind of implementation forms (JGoodies). I can also see that the use by a user requires the explicit usage of swing constructors. So I was wondering whether you could make the name reflect the fact that it is more specific (to swing or jgoodies) ? Because it could be misleading. In fact, I thought at first (by just reading the name) that it was an abstraction over the creation of forms, be they swing or swt ? Just a suggestion, of course :-)
At the moment, it's really only a very small wrapper around the JGoodies library to take away the boilerplate. It doesn't really deserve an "own" name. But on the other hand it might be also a good idea to expand it's functionality to also construct the swing components needed. (make-panel [{:label "Flogiston Pressure" :constraints "1, 1"}{:editor Integer :initial 0 :min 0 :max 5 :atom flogiston- pressure :constraints "2, 1"}
{:label "Security Override" :constraints "1, 3"}{:editor Boolean :initial false :atom sec-override :constraints "2, 3"}]
:layout my-configured-layout) The first would create some kind of Spin control, the second a check box. Changing their state would then modify the supplied atoms. One could also think of validators, etc... Was that, what you had in mind? Then a name like clj-swing-forms, would maybe justifiable. Or maybe Jazz, Blues, ... ? Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature