DefaultTableModel losing Vector data.

I've created my own table model (ListTableModel) which extends DefaultTableModel. ListTableModel's constructor consists of:

public ListTableModel(Vector data, Vector columnNames) {

super(data,columnNames);

//System.out.println("dataSize " + data.size());

m_Data = data;

m_ColumnNames = columnNames;

}

When I leave the call in for super(data,columnNames); I somehow lose the contents in the data Vector. If I stub out the super(..) call, the data Vector retains it's contents.

I'm using DefaultTableModel bc I need methods that AbstractTableModel doesn't support.

Anyone know what's going on? Or do you need more info?

Thanks.

-C

[709 byte] By [corinnee] at [2007-9-27 21:03:22]
# 1
Also the code works perfectly fine through JBuilder, but does not through the command line in a jar file.
corinnee at 2007-7-7 2:45:19 > top of Java-index,Core,Core APIs...