🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #12206

Re: Good way to implement add/delete row in JdbTable

#12206
From: Randall J. Parr
Date: Fri, 12 Feb 1999 00:00
22 lines
1443 bytes
Keith Cheng wrote:

> JdbTable doesn't provide any method to add/delete row, right?
> Any suggestion to do so?
> My idea is to make my own 'dbTableModel' class and implement keyListener
> to it.  It then listens to the keyboard 'Insert' and 'Delete' button
> pressed event and perform 'add/delete' row accordingly.  Any drawback on
> this idea?
>

I do NOT have an answer BUT I also would very much like one. This question
has been asked several times but I've only seen vague answers stating I have
to impliment my own models, etc. and mentioning the JFC reference docs, etc.
I really don't want to re-invent this wheel.

I would REALLY APPRECIATE an example which shows all the steps which results
in a JdbTable in which I can edit the fields and save them to the database.

Please?

R.Parr
Temporal Arts
Technical Details
Message-ID: <36C45197.D2A949C6@temporal.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36C2AADB.7F3E5AE8@excel.com.hk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6d73997396c011fc
X-Google-Attributes: gid111d45,public
From: "Randall J. Parr" <rparr@temporal.com>
Subject: Re: Good way to implement add/delete row in JdbTable
Date: 1999/02/12
Message-ID: <36C45197.D2A949C6@temporal.com>
X-Deja-AN: 443652579
Content-Transfer-Encoding: 7bit
References: <36C2AADB.7F3E5AE8@excel.com.hk>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: rparr@temporal.com
Newsgroups: borland.public.jbuilder.java.swing