Article View: borland.public.jbuilder.java.swing
Article #8738Re: Button Table Cell Renderer and Editor example???
From: Andreas Schnell
Date: Wed, 26 Jul 2000 00:00
Date: Wed, 26 Jul 2000 00:00
16 lines
997 bytes
997 bytes
Hi, > 3. See the depressed button, with normal button behavior and listen for the > mouse up. The mouse click should appear to be sensed by the button and not > the entire cell. I added a TableCellEditor to the Table which is a JButton, and I added MouseListener to the button, to get the event and a TableCellRenderer which is a JLabel to renderer the button. The Object in the cell is JCheckBox. works fine. Andreas Schnell
Technical Details
Message-ID:
<397eecc2_1@dnews>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<397d2a83_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1230cdfdfba798ad X-Google-Attributes: gid111d45,public From: "Andreas Schnell" <Andreas.Schnell@innovations.de> Subject: Re: Button Table Cell Renderer and Editor example??? Date: 2000/07/26 Message-ID: <397eecc2_1@dnews> X-Deja-AN: 650980056 References: <397d2a83_2@dnews> X-Trace: 26 Jul 2000 06:50:58 -0800, 194.123.233.30 X-MSMail-Priority: Normal X-Priority: 3 Newsgroups: borland.public.jbuilder.java.swing X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600