Using the JTable class, you can create a straightforward table by calling the JTable constructor that takes two vector arguments:
JTable
*-- Row-describing vectors | | *-- Column-describing vector v v new JTable(rowVector, columnVector)