I had the same issue and ended up having to use enumeration-seq function.
Seems
strange but it worked.

On Mon, Mar 2, 2009 at 4:22 PM, Mark Volkmann <r.mark.volkm...@gmail.com>wrote:

>
> Should I be able to do something like this?
>
> (doseq [table-column (-> jtable .getColumnModel .getColumns)]
>
> javax.swing.JTable has a getColumnModel method that returns a
> TableColumnModel.
> TableColumnModel has a getColumns method that returns
> Enumeration<TableColumn>.
> I was hoping that would automatically be treated as a sequence, but I get
>
> java.lang.IllegalArgumentException: Don't know how to create ISeq from:
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to