Article View: borland.public.jbuilder.java.swing
Article #7954JTable and Dialog
From: rp
Date: Tue, 14 Nov 2000 00:00
Date: Tue, 14 Nov 2000 00:00
13 lines
911 bytes
911 bytes
I need to show a dialog that has a textarea on it when the user double clicks or right clicks on a table cell that has an icon in it but represents a large amount of text. Should I make the cell editable so that I can use a custom cell editor and then just return from the setValueAt() method (the data is readonly), or can I register a mouse listener on the JTable and somehow determine what cell was double clicked on? Any suggestions? Thanks, Ross.
Technical Details
Message-ID:
<3a118c33$1_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,750aa626133614f8,start X-Google-Attributes: gid111d45,public From: "rp" <rperry@commonvision.com> Subject: JTable and Dialog Date: 2000/11/14 Message-ID: <3a118c33$1_1@dnews> X-Deja-AN: 693585775 X-Trace: 14 Nov 2000 11:02:11 -0800, 216.202.63.208 Organization: cvc Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4