Article View: borland.public.jbuilder.java.swing
Article #11392JTable: fixing first collumn while scrolling horizontally
From: Peter Meulmeester
Date: Mon, 07 Jun 1999 00:00
Date: Mon, 07 Jun 1999 00:00
19 lines
1212 bytes
1212 bytes
Hi, I need to build a gui where the fist collumn of a table moves along with the data when the user scolls vertically, but stays fixed, (and thus visible) when the user scrools horizontally. I can think of 2 ways of doing this? 1- use one JTable and work on the TableModel to fool the JTable. 2- Use two JTables, one for the data and one for the single first collumn. Then somehow fix the vertical scrollbar to both JTables. Any advice and tips on doing this? Offcourse, refering me to the FixFirstCollumn() method off JTable would make me real happy. best regards, Peter
Technical Details
Message-ID:
<7jgcme$25mh$1@thor.wirehub.nl>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,c1563a844f181141,start X-Google-Attributes: gid111d45,public X-Google-Thread: 10fd6d,c1563a844f181141,start X-Google-Attributes: gid10fd6d,public From: "Peter Meulmeester" <pmeulm@wirehub.nl> Subject: JTable: fixing first collumn while scrolling horizontally Date: 1999/06/07 Message-ID: <7jgcme$25mh$1@thor.wirehub.nl> X-Deja-AN: 486629209 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Organization: Wirehub! Internet X-MSMail-Priority: Normal Newsgroups: borland.public.jbuilder.java.swing,comp.lang.java.gui