Article View: borland.public.jbuilder.java.swing
Article #9896Re: detecting of value changed in JTable
From: Tor Iver Wilhelmsen
Date: Thu, 30 Dec 1999 00:00
Date: Thu, 30 Dec 1999 00:00
15 lines
1268 bytes
1268 bytes
"Omer Azhar Qureshi" <oaq@technologist.com> writes: > its a nice suggestion, but my client is has a strict codeing standard > guidline, & according to his conventions no components may be public.... It doesn't need to be public: Just have a public "setter" method; it becomes a "write-only" property. > 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?? As someone else pointed out, there is a javax.swing.event.TableEvent and associated TableListener which should fit your need.
Technical Details
Message-ID:
<u4sd07u78.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<84csq9$oh811@forums.borland.com> <ug0wmq7kq.fsf@sds.no> <84dc1g$s6n8@forums.borland.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: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: detecting of value changed in JTable Date: 1999/12/30 Message-ID: <u4sd07u78.fsf@sds.no> X-Deja-AN: 566419801 Sender: towi@SDSA1761 References: <84csq9$oh811@forums.borland.com> <ug0wmq7kq.fsf@sds.no> <84dc1g$s6n8@forums.borland.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing