• 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

HELP?! set up an iterator & put entries Collection into display List

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
I have to set up an iterator and put entries Collection into display List for my midAction button I am not sure how to do this.. I know it involves "Iterator count" that's all I can get. Any suggestions?
here is my code so far:

Thanks
Rob
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this all you need?

[ August 14, 2003: Message edited by: Ernest Friedman-Hill ]
 
Rob Michaelson
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi -
thanks for the code
it is giving me an illegal start of expression
in the {string line = string it.next();}
and do I actually put in "String" and "line"?
Thanks
rob
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There was an automatically-inserted smiley in place of a semicolon followed by a close-paren in my original post; I edited my post so the smiley doesn't show up. The code should be exactly correct as shown. "line" is the name of the String variable I've chosen to hold each element of "entries" -- you're free to call it whatever you want.
Note that capitalization (it's spelled "String") matters, and every parenthesis, etc, is significant.
[ August 14, 2003: Message edited by: Ernest Friedman-Hill ]
 
Rob Michaelson
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ahhh
Thank you again for your reply!!
I really appreciate it!
Rob
reply
    Bookmark Topic Watch Topic
  • New Topic