Does getID() really exist(check spelling) in that class and what is its visibility modifiers?
Check the ArrayList class in the
java docs and see for yourself.
Don't declare variables inside loops. Otherwise, they get redeclared everytime through the loop. Instead, declare them outside the loop, and then make assignments to them inside the loop.
[ November 10, 2006: Message edited by: sven studde ]