Article View: borland.public.jbuilder.java.api
Article #2978Re: JTable difficult Q.
From: Hans Georg Frey
Date: Thu, 11 Jun 1998 00:00
Date: Thu, 11 Jun 1998 00:00
32 lines
1615 bytes
1615 bytes
Hi Chris, what about setFrozenColumns( 3 ); ciao HGF chris.perks wrote: > > Entering the final and most complex stages of our application, using JDK > 1.1.6 and Swing 1.0.2 (JFC), a few difficult problems arise. > I would really appreciate any help on this one..... > > I have a simple table data model and use a JTable which is display only. > So far so good. > However, the first 3 columns should be fixed with name, type and address > eg, and that the fourth and remaining columns can be scrolled left and > right, in this case each column contains yearly data. The table can be > contained in a scrollpane, so scrollbars are not a problem, but > > 1) I cannot find any facility to split the table for scrolling, such as > in Access > 2) My colleague had an idea to use 2 tables on a split-pane. I would > need a listener so that if one of the tables is scrolled vertically, the > other one follows so that row level data is not mismatched. > > Any ideas please, > > Chris Perks > //Connection > Hong Kong
Technical Details
Message-ID:
<357F8D18.2FC9@she.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<357F7B16.92B3D3C1@connection.com.hk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,b14e438ebd060110 X-Google-Attributes: gid1089d0,public From: Hans Georg Frey <hfrey@she.de> Subject: Re: JTable difficult Q. Date: 1998/06/11 Message-ID: <357F8D18.2FC9@she.de> X-Deja-AN: 361624833 Content-Transfer-Encoding: 7bit References: <357F7B16.92B3D3C1@connection.com.hk> Mime-Version: 1.0 Reply-To: hfrey@she.de To: "chris.perks" <chris.perks@connection.com.hk> Content-Type: text/plain; charset=us-ascii Organization: ShE Newsgroups: borland.public.jbuilder.java.api