🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: detecting of value changed in JTable

#9890
From: Tor Iver Wilhelmsen
Date: Wed, 29 Dec 1999 00:00
8 lines
837 bytes
"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: <ug0wmq7kq.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <84csq9$oh811@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/29
Message-ID: <ug0wmq7kq.fsf@sds.no>
X-Deja-AN: 566074725
Sender: towi@SDSA1761
References: <84csq9$oh811@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.swing