🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Focus on a table cell

#7682
From: John McGrath TeamB
Date: Thu, 28 Dec 2000 05:24
16 lines
1289 bytes
On Thu, 21 Dec 2000 11:01:00 -0000, Lee-Ann wrote:

> Can I detect if focus has been lost on a cell on a table.

The cell in a JTable that has the "focus" is determined by the lead 
selection index for the row and column selection models.  You can add 
listeners to these models to detect the change.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.14b498899ac43a53989def@forums.borland.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail
References: <3a41e1cd_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,8c847dc85cebe1dc
X-Google-Attributes: gid111d45,public
X-Google-ArrivalTime: 2000-12-27 21:30:18 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!newsfeed.online.be!fr.clara.net!heighliner.fr.clara.net!news.imp.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!bornews.borland.com!not-for-mail
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.swing
Subject: Re: Focus on a table cell
Date: Thu, 28 Dec 2000 00:24:14 -0500
Organization: Another Netscape Collabra Server User
Lines: 16
Message-ID: <MPG.14b498899ac43a53989def@forums.borland.com>
References: <3a41e1cd_2@dnews>
NNTP-Posting-Host: dslcv1-60.fast.net
X-Newsreader: MicroPlanet Gravity v2.30