Article View: borland.public.jbuilder.java.swing
Article #10249JTable again!
From: Alexandre Reis
Date: Wed, 03 Nov 1999 00:00
Date: Wed, 03 Nov 1999 00:00
19 lines
1238 bytes
1238 bytes
I have a couple of JTables in my applet. In one JTable the user types in constraints for a query; however, sometimes the user does not type in all the fields that I need for a different query that I have to do later in the applet. This is the way it works. In one table there are fields from a database but the application is not directly linked to a database and the other table will hold the results for that query. Once the user queries the SQL Server I will have to check if all the fields that I need are in that query, if they are not I will have to add them to the query but not show them in the results. My question is: Is there a way to hide the columns from a JTable at runtime? Thanks in advance. Alex.
Technical Details
Message-ID:
<38203E71.817D181C@mitra.com>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,4e01de35b63f3e2d,start X-Google-Attributes: gid111d45,public From: Alexandre Reis <areis@mitra.com> Subject: JTable again! Date: 1999/11/03 Message-ID: <38203E71.817D181C@mitra.com> X-Deja-AN: 543944730 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.swing