Article View: borland.public.jbuilder.java.swing
Article #12447Re: How to add a JButton to a cell of JTable?
From: Matt Krevs
Date: Mon, 04 Jan 1999 00:00
Date: Mon, 04 Jan 1999 00:00
26 lines
1250 bytes
1250 bytes
Look at the following link. It gives some good examples of TableCellRenderers and TableCellEditors. This sounds like what you want to do http://java.sun.com/docs/books/tutorial/ui/swingComponents/table.html Mario Christ wrote in message <3687B08F.3DE9C3F3@rz.hu-berlin.de>... >Hi, > >I really need this information for my thesis. I've tried to find the >solution by myself. However, I got stuck ofter a while: > >How do I add a JButton to a cell of a JTable??? > >Unfortunately, only text, comboboxes and booleans can be added to a >JTable easily... it should be a little bit more complicated with a >Button. > >thank you in advance... > >Mario > >PS: >Please (!) send your answer to my mailbox as well. > >
Technical Details
Message-ID:
<76on45$76h4@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3687B08F.3DE9C3F3@rz.hu-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,5ecb4afb31fd709d X-Google-Attributes: gid111d45,public From: "Matt Krevs" <mattkrevs@flex.com.au> Subject: Re: How to add a JButton to a cell of JTable? Date: 1999/01/04 Message-ID: <76on45$76h4@forums.borland.com> X-Deja-AN: 428412419 References: <3687B08F.3DE9C3F3@rz.hu-berlin.de> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing