Hi, I have created a JTable and displayed the results of a SQL query. It compiles and runs fine but displays each recordSet 10 times. Can anyone see why this is happening?
Amy, I'm a newbie but is it possible in this piece of the code that the for loop is executed too many times since it is inside of a while loop? while(rs.next()){Object[] row = new Object[cols];for (int j = 0; j < row.length; j++){row[j] = rs.getObject(j + 1);cache.add(row);}}