Basically you have three choices:
Ignore the warningSuppress it with the SuppressWarnings annotationLet the compiler know about the type of object your collection stores. See the Generics tutorial to find out more. One more thing, why are you using a Vector?
[ December 14, 2007: Message edited by: Paul Sturrock ]