You'll find the java source code example that you're looking for here:
http://www.exampledepot.com/egs/javax.swing.table/Table.html
It will show you how to populate a JTable component with a Vector. Also check out http://www.exampledepot.com/egs/javax.swing.table/pkg.html for lots of java source code examples that will help you learn to use the JTable component. Finally you should look at Sun's swing tutorials. They contain lots of good examples.