I'm (still) @ the same project - and am accessing a database...
The acces itself is ok, but I set up a DefaultTableModel to be transmitted over the network - the model is Serialised, so I assume this is ok.
Ik "shape" the model by first asdding cols to it:
myU = new UHLDR();
myU = (UHLDR)alstFields.get(iCounter);
tcCol = new TableColumn();
The holder "myU" has width and header as structural data from the base, these are all stored in an ArrayList.
After that, I run a second SQL to fill the model with data using addRow(vector);
Then, I'd like to send it over, the client gets a null ... hence my "cry 4 F1"...
So, in short:
- does it work to set up a model and send it over the "wire"
- can cols be added this way? (yes - I did this before, but for all the hair on my head, I dont know how I did that...)