Article View: borland.public.jbuilder.java.swing
Article #13036Re: How to update last row's column in JTable?
From: Tapio Holopainen
Date: Fri, 09 Oct 1998 00:00
Date: Fri, 09 Oct 1998 00:00
12 lines
1184 bytes
1184 bytes
I tested this solution also and it worked: models setValueAt-method was called. Problem is that if I'm gonna use it I have to set tables data to model 'outside' from table (e.g. using button which forces editing to stop). Hope you understand what I mean... JTable handles this setValueAt-method call automatically to model, but if user edits last row and then presses enter setValueAt-method call never happens. This is my problem. Thank's for your answer anyway. - Tapio
Technical Details
Message-ID:
<361DEB59.B44A1E94@sysline.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3619C83F.6F23ED4A@sysline.com> <361AAA9C.6BA736E3@collegemail.com> <361B2E0C.E49346AD@sysline.com> <6vitsr$s0e9@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,75b4b6d81fb5a685 X-Google-Attributes: gid111d45,public From: Tapio Holopainen <tapio.holopainen@sysline.com> Subject: Re: How to update last row's column in JTable? Date: 1998/10/09 Message-ID: <361DEB59.B44A1E94@sysline.com> X-Deja-AN: 399302143 Content-Transfer-Encoding: 7bit References: <3619C83F.6F23ED4A@sysline.com> <361AAA9C.6BA736E3@collegemail.com> <361B2E0C.E49346AD@sysline.com> <6vitsr$s0e9@forums.borland.com> To: John Sebahar <jsebahar@mcs.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Sysline Oy Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing