In addition to the above, it is worth mentioning that in cases where a synchronized collection is NOT required,
you should ALWAYS prefer an ArrayList to a Vector, since ArrayList provides quicker access due to the lack of overhead w/regard to obtaining locks before executing each method.
In a simple example in Peter Haggar's "Practical Java" book, the ArrayList code is 4 times faster than the equivalent code using Vector.
------------------
"One good thing about music - when it hits, you feel no pain"
Bob Marley