Article View: borland.public.jbuilder.java.swing
Article #10063Re: JTable - part IV the return
From: John P. McGrath
Date: Wed, 01 Dec 1999 00:00
Date: Wed, 01 Dec 1999 00:00
17 lines
1170 bytes
1170 bytes
On Mon, 29 Nov 1999 15:31:05 -0500, Alexandre Reis wrote: > I allow the user to move the fields up and down. My problem > is if the user does a multiselect to move the selected rows > up or down I want the highlighted fields to be highlighted > after the action is performed but I have not been able to > do that. After the action is performed, I can only highlight > one field, which is usually the last row selected. I don't think there is any automagic way to do what you want. But you should be able to implement it by creating a customized table selection model, and install it with the JTable setSelectionModel() method. -- John P. McGrath <JPMcGrath@fast.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.12ae83a65d7eda6f9896da@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3842E289.51A7ADED@mitra.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,f0f2dc087445752a X-Google-Attributes: gid111d45,public From: John P. McGrath <mcgrath@enter.net> Subject: Re: JTable - part IV the return Date: 1999/12/01 Message-ID: <MPG.12ae83a65d7eda6f9896da@forums.borland.com> X-Deja-AN: 555168681 References: <3842E289.51A7ADED@mitra.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.swing