On Nov 25, 11:09 am, Martin DeMello <martindeme...@gmail.com> wrote:
> On Thu, Nov 26, 2009 at 12:31 AM, Jonathan Smith
> > To display you would want to use 'into-array' and your 'setListData'
> > function, because you seem to have a homogeneous collection of
> > strings; while to-array makes you an array of objects, into-array will
> > return an array of strings (It might help, I'm really not sure).
>
> Another good idea. I forgot strings weren't Objects in java.

String *are* Objects.  Since the JList method takes an Object[],
there's no need to worry about typing of the array, which is all into-
array buys you.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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