btw, showMessageDialog being a static method, isn't the preferred syntax

(javax.swing.JOptionPane/showMessageDialog nil "Hello World!")

both versions work here (standard OSX Java).

$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13- 
b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)

   --Chris

On 19.09.2008, at 19:25, cliffc wrote:

>
> I downloaded clojure to my pc. I tried the "Getting Started" page:
>
>  user=> (+ 1 2 3)
>  6
>
> Worked great...  next step:
>
>  user=> (. javax.swing.JOptionPane (showMessageDialog nil "Hello
> World"))
>
> This hangs for me; the java process is idle.  No output, no dialog box
> or GUI.  I'm using HotSpot 1.6.0_07 -client.
>
> Thanks,
> Cliff
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to