Article View: borland.public.jbuilder.java.swing
Article #10744Re: Combo-Boxes in Tables
From: Jonathan
Date: Tue, 17 Aug 1999 00:00
Date: Tue, 17 Aug 1999 00:00
29 lines
1105 bytes
1105 bytes
do the following: JTable table = new JTable(); JComboBox combo = new JComboBox(); /*This places a comboBox in column 0*/ table.getColumn(0).setCellEditor(new DefaultCellEditor(combo)); if you need more help , just ask Robert Schossleitner wrote in message <7pauhe$rac5@forums.borland.com>... >Hi, > >can anybody point me to an example which is using comboboxes (JdbComboBox) >in a table >(JdbTable). The table is linked to a querydataset. One field of this >querydataset has >a picklist that shows all items that could be filled in one field of this >table. > >thanks > >Robert > >
Technical Details
Message-ID:
<7pbl9p$rt98@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7pauhe$rac5@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,1c4131a3b84ce24 X-Google-Attributes: gid111d45,public From: "Jonathan" <plaskowj@logica.com> Subject: Re: Combo-Boxes in Tables Date: 1999/08/17 Message-ID: <7pbl9p$rt98@forums.borland.com> X-Deja-AN: 513772642 References: <7pauhe$rac5@forums.borland.com> Organization: Another Netscape Collabra Server User X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Newsgroups: borland.public.jbuilder.java.swing