select w/Swing's JTable widget - Mailing list pgsql-interfaces

From Ludovic Marcotte
Subject select w/Swing's JTable widget
Date
Msg-id Pine.LNX.3.96.980704145133.30554A-100000@extra.Sophos.ca
Whole thread Raw
Responses Re: [INTERFACES] select w/Swing's JTable widget  (Peter T Mount <peter@retep.org.uk>)
List pgsql-interfaces
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


pgsql-interfaces by date:

Previous
From: "Roderick A. Anderson"
Date:
Subject: Re: [INTERFACES] Creating a C Function
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes