All you need to change from the above code then is to replace every "ArrayList" with "Vector" and it should work.
Type: Posts; User: helloworld922
All you need to change from the above code then is to replace every "ArrayList" with "Vector" and it should work.
Please don't post the same question in multiple places.
I'd recommend that you instead use an ArrayList. They both accomplish basically the same thing except vectors are thread-safe. If you want...