Article View: borland.public.jbuilder.java.swing
Article #9889Re: detecting of value changed in JTable
From: Omer Azhar Qureshi
Date: Wed, 29 Dec 1999 00:00
Date: Wed, 29 Dec 1999 00:00
28 lines
1682 bytes
1682 bytes
thanx for the quick response Tor, its a nice suggestion, but my client is has a strict codeing standard guidline, & according to his conventions no components may be public.... i was thinking that if it would be possible to attach change listners to the cells of the table?? i have applied costom cell edetors to the cells (e.g. combo boxes & check boxes) but cant seem to get how to get to attach change listners to individual cells, do u have any suggestions?? if that dosent work out by tomorow, then i think that ill bend a few of my clients rules.... :O)) thanx Oaq Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> wrote in message news:ug0wmq7kq.fsf@sds.no... > "Omer Azhar Qureshi" <oaq@technologist.com> writes: > > > i want to detect when the value in a cell of my JTable is changed so i can > > enable buttons like Save & Revert on my applet. the problem is that the > > setValueAt method is in my TableDataModel, and i have no acces to my applet > > from there. > > Why not simply add a reference to the applet in the model?
Technical Details
Message-ID:
<84dc1g$s6n8@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<84csq9$oh811@forums.borland.com> <ug0wmq7kq.fsf@sds.no>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,7ff5cdfda3674417 X-Google-Attributes: gid111d45,public From: "Omer Azhar Qureshi" <oaq@technologist.com> Subject: Re: detecting of value changed in JTable Date: 1999/12/29 Message-ID: <84dc1g$s6n8@forums.borland.com> X-Deja-AN: 566143378 References: <84csq9$oh811@forums.borland.com> <ug0wmq7kq.fsf@sds.no> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Systems (Pvt) Ltd X-MSMail-Priority: Normal Reply-To: "Omer Azhar Qureshi" <oaq@technologist.com> Newsgroups: borland.public.jbuilder.java.swing