Article View: borland.public.jbuilder.java.swing
Article #1276Re: Detect Cell Editing in JTable
From: Tor Iver Wilhelmsen (TeamB)
Date: Tue, 23 Dec 2003 07:40
Date: Tue, 23 Dec 2003 07:40
9 lines
1425 bytes
1425 bytes
"Steve" <pearsons_11113@mindspring.com> writes: > Correct me if I'm wrong, but that's actually before editing begins, yes? > What I want to do is call a selectAll() on the textfield so that it behaves > like the typical Windows data entry application (i.e. selects all the text > so you can overwrite quickly without extraneous actions). Thx. In that case, make a subclass of DefaultCellEditor which casts to JTextField and calls selectAll() when the component is requested.
Technical Details
Message-ID:
<u65g89e2x.fsf@ergo.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!solnet.ch!solnet.ch!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailReferences:
<3fe6413e$1@newsgroups.borland.com> <uwu8p9rwr.fsf@ergo.no> <3fe72213$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,a6b8964b405ddc75 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-12-22 23:49:28 PST Sender: towi@SDSA3850 Newsgroups: borland.public.jbuilder.java.swing Subject: Re: Detect Cell Editing in JTable References: <3fe6413e$1@newsgroups.borland.com> <uwu8p9rwr.fsf@ergo.no> <3fe72213$1@newsgroups.borland.com> From: tor.wilhelmsen@ergo.no (Tor Iver Wilhelmsen (TeamB)) Date: 23 Dec 2003 08:40:38 +0100 Message-ID: <u65g89e2x.fsf@ergo.no> Lines: 9 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 139.105.7.229 X-Trace: newsgroups.borland.com 1072165236 139.105.7.229 (22 Dec 2003 23:40:36 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!solnet.ch!solnet.ch!newspeer1.nwr.nac.net!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail