• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Split arrayList into String

 
Ranch Hand
Posts: 570
3
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wonder how to split ArrayList into String.

I've been successfully make the checkboxes added dynamically, the problem now is I have no idea on how to split the arrayList into string.

Everything is start from StaffManagement.java

StaffManagement



adminAPI



deleteAdmin




Output



Is it possible to split the arrayList ? Example the first checkbox named john, second checkbox named 1 ?

Thanks a lot.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

John Joe wrote:I've been successfully make the checkboxes added dynamically, the problem now is I have no idea on how to split the arrayList into string.


Wrong question. The right question (I suspect) is "how do I get each checkbox to have one name".

So, question for you: How do you get a single element from a List?

Winston
 
John Joe
Ranch Hand
Posts: 570
3
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Winston Gutkowski wrote:
Wrong question. The right question (I suspect) is "how do I get each checkbox to have one name".

So, question for you: How do you get a single element from a List?

Winston



Thanks for your reply. I just edited my question.
 
Winston Gutkowski
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

John Joe wrote:Thanks for your reply. I just edited my question.


OK, so do you have an answer to my question? I assume you're familiar with how to use a List, or you wouldn't have included one in your program.

Winston
 
John Joe
Ranch Hand
Posts: 570
3
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Winston Gutkowski wrote:
OK, so do you have an answer to my question? I assume you're familiar with how to use a List, or you wouldn't have included one in your program.

Winston



Sorry, I don't know the answer
 
Winston Gutkowski
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

John Joe wrote:Sorry, I don't know the answer


Have a look at List.get(int).

Winston
reply
    Bookmark Topic Watch Topic
  • New Topic