Getting string from an Arraylist?
From: Java Newbie (java_2_go_at_yahoo.com)
Date: 02/27/04
- Next message: Jon Skeet: "Re: Getting string from an Arraylist?"
- Previous message: Oscar kind: "Re: How to update a file on a server from a JSP page"
- Next in thread: Jon Skeet: "Re: Getting string from an Arraylist?"
- Reply: Jon Skeet: "Re: Getting string from an Arraylist?"
- Reply: Lloyd: "Re: Getting string from an Arraylist?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Feb 2004 10:17:57 -0800
Hello,
I am trying to load the contents of an ArrayList to a Combo Box, but
with the current code I wrote, all the elements in the ArrayList are
displayed in one line cuz I used the toString() operation. Is there
any way to get rid of the [ ] at the end and the ',' between the
individual elements?
Thanks,
JavaNewbie
- Next message: Jon Skeet: "Re: Getting string from an Arraylist?"
- Previous message: Oscar kind: "Re: How to update a file on a server from a JSP page"
- Next in thread: Jon Skeet: "Re: Getting string from an Arraylist?"
- Reply: Jon Skeet: "Re: Getting string from an Arraylist?"
- Reply: Lloyd: "Re: Getting string from an Arraylist?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|