pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kurt J. Hoell <khoell@via.at>
To: Ludovic Marcotte <ludovic@Sophos.ca>
Cc: pgsql-interfaces@postgreSQL.org
Subject: Re: [SQL] select w/Swing's JTable widget
Date: Sun, 05 Jul 1998 12:26:16 +0200
Message-ID: <359F54C8.4044@via.at> (raw)
References: <Pine.LNX.3.96.980704145133.30554A-100000@extra.Sophos.ca>

Ludovic Marcotte once wrote:
> 
> Hi,
>         I would first like to thank all developpers that are working on
> PostgreSQL. It's an awesome piece of software.
> 
I second that.

> 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).

The model side of it ? - then think again.
The component side of it ? - then the swing list is THE  place to look
for.

> Playing with Vector objects is annoying and with Object[]{[]} .. it's
> pretty static :)
> 
What's wrong with Vectors (or Collections) ?

> Thanks a lot,
>                 Ludovic



view thread (3+ messages)

Message-ID: <359F54C8.4044@via.at>
Permalink:  ../359F54C8.4044@via.at/
Also on:    postgresql.org/message-id/359F54C8.4044@via.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: khoell@via.at, ludovic@Sophos.ca
  Subject: Re: [SQL] select w/Swing's JTable widget
  In-Reply-To: <359F54C8.4044@via.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox