Article View: borland.public.jbuilder.java.swing
Article #1580JTable Cell Selection Problem
From: Michael
Date: Wed, 15 Oct 2003 16:49
Date: Wed, 15 Oct 2003 16:49
11 lines
1518 bytes
1518 bytes
Hi,
I'm using a JTable with a combo box for a cell editor. In order to
bring up the cell editor, it seems the JTable's default behavior is to
require the user to first select the column and then the cell. If the user
selects the cell first nothing happens. I have CellSelectionEnabled = true,
which I thought would do the trick, but it doesn't.
How do I pop up a cell editor when the user selects the cell only?
Thanks,
Mike
Technical Details
Message-ID:
<dUejb.15265$QQ.1692@nwrddc03.gnilink.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc03.gnilink.net.POSTED!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,44d9cbf82a291896,start X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-10-15 09:49:15 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc03.gnilink.net.POSTED!53ab2750!not-for-mail Reply-To: "Michael" <MichaelB_530@hotmail.com> From: "Michael" <MichaelB_530@hotmail.com> Newsgroups: borland.public.jbuilder.java.swing Subject: JTable Cell Selection Problem Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: <dUejb.15265$QQ.1692@nwrddc03.gnilink.net> Date: Wed, 15 Oct 2003 16:49:13 GMT NNTP-Posting-Host: 141.156.121.230 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc03.gnilink.net 1066236553 141.156.121.230 (Wed, 15 Oct 2003 12:49:13 EDT) NNTP-Posting-Date: Wed, 15 Oct 2003 12:49:13 EDT