Re: [SQL] select w/Swing's JTable widget

From: "Kurt J(dot) Hoell" <khoell(at)via(dot)at>
To: Ludovic Marcotte <ludovic(at)Sophos(dot)ca>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [SQL] select w/Swing's JTable widget
Date: 1998-07-05 10:26:16
Message-ID: 359F54C8.4044@via.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces pgsql-sql

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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 1998-07-05 10:38:25 JDBC Driver Development Hitch
Previous Message Peter T Mount 1998-07-05 10:13:50 Re: [INTERFACES] select w/Swing's JTable widget

Browse pgsql-sql by date

  From Date Subject
Next Message Korapat Charukumnerdkanok 1998-07-06 09:31:31 :) Import file2table Question
Previous Message Peter T Mount 1998-07-05 10:13:50 Re: [INTERFACES] select w/Swing's JTable widget