Article View: borland.public.jbuilder.java.swing
Article #9826Re: detecting of value changed in JTable
From: Omer Azhar Qureshi
Date: Fri, 07 Jan 2000 00:00
Date: Fri, 07 Jan 2000 00:00
26 lines
1438 bytes
1438 bytes
thanx, i tried it & its working perfectly.... :O) regards Oaq David M. Karr <david.karr@attws.com> wrote in message news:uln6dvba9.fsf@attws.com... > >>>>> "Omer" == Omer Azhar Qureshi <oaq@technologist.com> writes: > > Omer> hi all, i want to detect when the value in a cell of my JTable is > Omer> changed so i can enable buttons like Save & Revert on my applet. the > Omer> problem is that the setValueAt method is in my TableDataModel, and i > Omer> have no acces to my applet from there. > > Omer> any suggestions will be most welcomed.... > > Omer> thanx in advance Oaq > > > Look at "TableModel.addTableModelListener()". Using this, your applet can > "listen" to changes in your model, so your table model doesn't have to know > anything about your applet.
Technical Details
Message-ID:
<852tmc$qhl15@bornews.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<84csq9$oh811@forums.borland.com> <uln6dvba9.fsf@attws.com>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: 2000/01/07 Message-ID: <852tmc$qhl15@bornews.borland.com> X-Deja-AN: 569235257 References: <84csq9$oh811@forums.borland.com> <uln6dvba9.fsf@attws.com> 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