R: JTable and db connection  
Author Message
Giuseppe Briotti





PostPosted: 2003-8-17 17:33:00 Top

java-programmer, R: JTable and db connection There is a good example in JTable example ad www.sun.com. By the way, it is
based on the idea of copying all the records in a Vector array, and then
send all to the JTable...
IMHO this isn't a good approach, but it is a good example to understand the
JTable

Bye

Giuseppe

Liguori Ferdinando <email***@***.com> wrote in message
bhl1va$55u$email***@***.com...
>
> Could you help me to definy a trouble.
> I wish see data retring db connection in a JTable.
> Could you mailing an example.
> Thanks.
>
>


 
Patrick Schneider





PostPosted: 2003-8-19 20:19:00 Top

java-programmer >> R: JTable and db connection Am Sun, 17 Aug 2003 11:33:26 +0200 schrieb Giuseppe Briotti:

> There is a good example in JTable example ad www.sun.com. By the way, it is
> based on the idea of copying all the records in a Vector array, and then
> send all to the JTable...
> IMHO this isn't a good approach, but it is a good example to understand the
> JTable
>
> Bye
>
> Giuseppe
>
> Liguori Ferdinando <email***@***.com> wrote in message
> bhl1va$55u$email***@***.com...
>>
>> Could you help me to definy a trouble.
>> I wish see data retring db connection in a JTable.
>> Could you mailing an example.
>> Thanks.
>>
>>
Yes but the use of Vectors isn't really fast.
Is there a good example where is shown how to create a AbstractModel and
add the results from a SQL Query there.

Cheers,

Patrick
 
Patrick Schneider





PostPosted: 2003-8-20 14:14:00 Top

java-programmer >> R: JTable and db connection Am Tue, 19 Aug 2003 16:34:02 +0200 schrieb Liguori Ferdinando:

>
>
>
> "Patrick Schneider" <email***@***.com> ha scritto nel messaggio > >>
>> Yes but the use of Vectors isn't really fast.
>> Is there a good example where is shown how to create a AbstractModel and
>> add the results from a SQL Query there.
>>
>> Cheers,
>> Patrick
>
>
>
> Could you send me an example please?
> Thanks for collaboration.
Seems that my post was miss-understood.
I need a example for myself..
The Vectors Example (for german users) can be found here :

http://www.galileocomputing.de/openbook/javainsel2/java_150025.htm#Xxx998135