Received: from extra.Sophos.ca (ludovic@sophos.ca [209.5.120.97]) by hub.org (8.8.8/8.7.5) with ESMTP id OAA01997; Sat, 4 Jul 1998 14:57:15 -0400 (EDT) Received: from localhost (ludovic@localhost) by extra.Sophos.ca (8.8.7/8.8.7) with SMTP id OAA30561; Sat, 4 Jul 1998 14:58:36 -0400 Date: Sat, 4 Jul 1998 14:58:36 -0400 (EDT) From: Ludovic Marcotte To: pgsql-sql@postgreSQL.org cc: pgsql-interfaces@postgreSQL.org Subject: select w/Swing's JTable widget Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hi, I would first like to thank all developpers that are working on PostgreSQL. It's an awesome piece of software. Secondly, I've a simple question. I'm developping a small application in Java and I use the Swing (JFC) widgets set. I have to do a select on a table and put the result in a JTable object. My question is, how (in an efficient manner) should I construct my JTable object since I do not know in advance how many rows I'll have (available through my resultset). Playing with Vector objects is annoying and with Object[]{[]} .. it's pretty static :) Thanks a lot, Ludovic