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 [email protected]
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