Use JTable without using Vector

Hi everybody,
I usually create table through DefaultTableModel(Vector data, Vector column). But now I know Vector is obsolete, I also now DefaultTableModel use Vector in its code. So how should I create table without using Vector?
Thanks for reading :)

Hi everybody,
I usually create table through DefaultTableModel(Vector data, Vector column). But now I know Vector is obsolete, I also now DefaultTableModel use Vector in its code. So how should I create table without using Vector?

Vector is not obsolete and certainly hasn't been deprecated. Where have you read this?

It may be a little slower than an ArrayList since it is synchronized while ArrayList isn't, but again, it hasn't been deprecated and is fully supported by Java now and in the forseeable future.

Incidentally, if you want to use your own data structure as the nucleus of your JTable model, then subclass AbstractTableModel, but be prepared to do a bit more work to get it working.

Thanks eRaaaa and Fubarable, I use Netbeans 6.9 and it marks Vector is obsolete. Then I search on google about "Vector obsolete", I found many forum said that: "Java Vector is obsolete because it's synchronized".