Re: filechooser

2009-06-09 Thread Emeka
- line 35 looks wrong. What does Dispatch/put return Thanks so pointing that out. I have to out windows guys then. Regards, Emeka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this

Help with filechooser

2009-06-09 Thread Emeka
Hello All, (add-item-action ost-item (do (.showOpenDialog file-chooser frame) (let [file (.getSelectedFile file-chooser)] (println file file When I tried the above on windows box it prints file #Win32ShellFolder2 C:\clojure\roobot.txt. But what I want is file

Re: Help with filechooser

2009-06-09 Thread BrianS
Emeka, Your 'file' is an actual file. What you want is it's name. I think the last line should look like this: (println (str file (.getName file) I worked on my Mac, I assume it will work in Windows. Brian On Jun 9, 11:53 am, Emeka emekami...@gmail.com wrote: Sorry for the noise, I was

filechooser

2009-06-08 Thread Emeka
Hello Meikel, I have not been able to resolve this issue. As I mentioned in another thread, I want to use filechooser to select the excel file. My code is in this link http://friendpaste.com/wmX89ywgPhdN5hvVBEAbg Regards, Emeka --~--~-~--~~~---~--~~ You received