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

Поиск
Список
Период
Сортировка
От Kurt J. Hoell
Тема Re: [SQL] select w/Swing's JTable widget
Дата
Msg-id 359F54C8.4044@via.at
обсуждение исходный текст
Ответ на select w/Swing's JTable widget  (Ludovic Marcotte <ludovic@Sophos.ca>)
Список pgsql-interfaces
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

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Следующее
От: Herouth Maoz
Дата:
Сообщение: Re: [INTERFACES] ODBC on unix?