Re: I feel I'm making an elementary mistake with proxy, but I don't know what...

2009-04-02 Thread Christian Vest Hansen
On Thu, Apr 2, 2009 at 2:33 AM, Luke VanderHart wrote: > > Ugh, I hate it when I make a fool of myself and realize the answer to > a question 1 minute after posting it, even when wrestling with it for > an hour beforehand... > > The reason the example doesn't work is that the method is of a > dif

Re: I feel I'm making an elementary mistake with proxy, but I don't know what...

2009-04-01 Thread Luke VanderHart
Ugh, I hate it when I make a fool of myself and realize the answer to a question 1 minute after posting it, even when wrestling with it for an hour beforehand... The reason the example doesn't work is that the method is of a different arity than the one I'm attempting to call. Still doesn't expl

I feel I'm making an elementary mistake with proxy, but I don't know what...

2009-04-01 Thread levand
Isn't this supposed to work? (defn create-layout [] (proxy [java.awt.LayoutManager] [] (addLayoutComponent [name comp] (println "Called addLayoutComponent")) (removeLayoutComponent [comp] (println "Called removeLayoutComponent