<p><strong>Before you answer: Yes I have read the jtable tutorial over at Sun</strong>. No, it did not help me. Yes, I am a dolt. <strong>Please don't answer with a reference to that document</strong>. What I am specifically interested in is how to dynamically add rows and columns to my Jtable via the Netbeans IDE. I already have an object that contains a hashmap with my data. I can't figure out where or what object I should be passing that object to. Thanks for your time! </p>

<p>I have a vector that contains a series (of length l) of objects (each one corresponding to a row). How do I get that vector object to display on the JTable?</p>

A
```
JTable
```
uses a
```
TableModel
```
to hold its data. Your hash/vector of data will need to be adapted to be used; you can write a
```
TableModel
```
implementation, using the hash/vector as backing data, or, if you won't be dynamically updating the hash/vector and needing it to show automatically, you can simply copy everything into an instance of
```
DefaultTableModel
```
, and use that.
If you do use an adapter, and dynamically update the hash/vector, remember that all updates must be done in the event dispatch thread. :-)