title: Clojure Proxy Java Templates
body: <h2>Context</h2>
  
  <p>I have this piece of Java Code</p>
  
  <pre><code>    btn.setOnAction(new EventHandler&lt;ActionEvent&gt;() {
  
          public void handle(ActionEvent event) {
              System.out.println("Hello World");
          }
      });
  </code></pre>
  
  <p>I want to convert it into Clojure.</p>
  
  <h2>What I know</h2>
  
  <pre><code>(. btn setOnAction (proxy .... ????? .... ))
  </code></pre>
  
  <h2>Question:</h2>
  
  <p>How do I handle EventHandler part in Clojure? I believe this is a Java Template. How do I create templated objects in Clojure?</p>