Article View: borland.public.jbuilder.java.swing
Article #8172Re: How can I fixed (no scroll) first column in a JTable without have
From: John McGrath TeamB
Date: Fri, 20 Oct 2000 00:00
Date: Fri, 20 Oct 2000 00:00
24 lines
1371 bytes
1371 bytes
On Thu, 19 Oct 2000 18:15:38 +0200, Cadei Michele wrote:
> Always, I have seen examples of fixed first column in a
> JTable, but the code divides a table in two JTable and put
> fixed table in a JScrollPane.getRowHeader() and the other
> table in the ViewPort of the same JScrollPane. The problem
> in this architecture is to comunicate between the two table,
> for example sincronization of row selection or multiple row
> selection.
The way to synchronize the selection would be to arrange for both tables
to use the same row selection model. I have not tried this, but it
should work.
Is there any other communication that you would want between the two
tables?
--
Regards,
John McGrath [TeamB]
---------------------------------------------------
Before sending me e-mail, please read:
http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID:
<MPG.1459bb818fda529d989c54@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<39EF1E2A.8481F6EB@nch.it>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,6a5817bfeab81d86 X-Google-Attributes: gid111d45,public From: John McGrath [TeamB] <ng-b@JPMcGrath.net> Subject: Re: How can I fixed (no scroll) first column in a JTable without have Date: 2000/10/20 Message-ID: <MPG.1459bb818fda529d989c54@forums.borland.com> X-Deja-AN: 683711213 References: <39EF1E2A.8481F6EB@nch.it> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing