Re: swing-utils: another set of helpers (was: Re: swing-utils: patch - returning the listeners)

2009-06-04 Thread Stephen C. Gilardi
On Jun 3, 2009, at 2:40 AM, Meikel Brandmeyer wrote: Hi Stephen, uh? I didn't notice you put up a swing-utils in contrib. I have a set of little macros + helper, which might also be interesting: I like them! (import 'javax.swing.SwingUtilities) (defn do-swing* Run the given thunk in the

swing-utils: patch - returning the listeners

2009-06-02 Thread Roland Sadowski
May I suggest a small change in the add-*-listener functions in contrib.swing-utils? It's handy to have them return the listeners (and be able to disable/remove them later etc). Patch attached. -Roland -- [ http://www.haltingproblem.net/ - my homepage ]

Re: swing-utils: patch - returning the listeners

2009-06-02 Thread Stephen C. Gilardi
On Jun 2, 2009, at 7:31 PM, Roland Sadowski wrote: May I suggest a small change in the add-*-listener functions in contrib.swing-utils? It's handy to have them return the listeners (and be able to disable/remove them later etc). Patch attached. Nice change, Roland. I see that you're on the