title: proxy cant implement java.lang.Thread
body: <p>im trying to implement this in java</p>
  
  <pre><code>window.addWindowListener(new WindowAdapter() {
              @Override
              public void windowDestroyNotify(WindowEvent arg0){
                  new Thread(){
                      @Override
                      public void run(){
                          animator.stop();
                          System.exit(0);
                      }
                  }.start();
              };
          });
  </code></pre>
  
  <p>as this in clojure</p>
  
  <pre><code> (.addWindowListener (proxy [WindowAdapter][]
                           (windowDestroyNotify [arg0]
                             (.start (proxy [java.lang.Thread][]
                                       (run
                                         (.stop ani)
                                         (System/exit 0)))))))
  </code></pre>
  
  <p>but when i run it, it gives me this error</p>
  
  <pre><code>CompilerException java.lang.IllegalArgumentException: Don't know how to create ISeq from: clojure.lang.Symbol, compiling:     (program/core.clj:36:36)
  </code></pre>
  
  <p>36:36 is where "(proxy [java.lang.Thread]" starts</p>
  
  <p>why can't it implement java.lang.Thread</p>