I have a GUI with a table on it with only 1 column(more will be added later).

The Gui gets an arraylist that has to be iterated through and then each value has to be inserted into the table.

Whatever I try, I can't get the GUI to set the cells to the correct values.

Any advice?

6 Years
Discussion Span
Last Post by P00dle

Whatever I try,

Can you show us what you have tried?

set the cells to the correct values

What values does it set them to?


Sorry for taking so long to reply.

At the moment, I have a GUI with a table on it called tbl_1.

The gui program receives an arraylist from another programme that contains values.

I've tried using add() and set() (you can't use set, I know that now).

Is it possible to send a resultSet via a socket connection?


ResultSet rs = new ResultSet();

in = new ObjectInputStream(socket.getInputStream());
Object ob = (Object)in.readObject();

if (rs.getClass() == ob.getClass()) {
    rs = (ResultSet)ob;

If it is possible, but im doing it wrong, please correct me.

Thank you.

Edited by P00dle: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.