Re: Newbie question re. calling Java from Clojure

2010-04-05 Thread Gregg Williams
Thanks for the help! I found and corrected a few more errors. You can see the final result with documentation, at http://gist.github.com/354147 . -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups

Re: Newbie question re. calling Java from Clojure

2010-04-02 Thread Michael Wood
On 2 April 2010 15:00, Kevin wrote: >> Here's my best attempt so far: >> >> -- >> (ns piccoloHello >>  (:gen-class) >>  (:import (edu.umd.cs.piccolo PCanvas PNode PLayer) >>    (edu.umd.cs.piccolo.nodes PText) >>    (edu.umd.cs.piccolox PFrame)))

RE: Newbie question re. calling Java from Clojure

2010-04-02 Thread Kevin
> Here's my best attempt so far: > > -- > (ns piccoloHello > (:gen-class) > (:import (edu.umd.cs.piccolo PCanvas PNode PLayer) >(edu.umd.cs.piccolo.nodes PText) >(edu.umd.cs.piccolox PFrame))) > > (defn create-frame > "Creates the ma

Newbie question re. calling Java from Clojure

2010-04-02 Thread Gregg Williams
Hi-- I'm trying to write a GUI-based Java program from within Clojure, and I'm using an interesting library called Piccolo2D (http:// www.piccolo2d.org). The worldwide intersection of Clojure and Piccolo2D is probably *me*, but I'm hoping that someone here can point me in the right direction. I'm