🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10992

Re: Any way to veto JList list selection?

#10992
From: Michael Sashnikov
Date: Sun, 25 Jul 1999 00:00
32 lines
1133 bytes
Hi Lois,

You will have the full control under the selection policy if you write a
custom selection model and attach it to the JList.

Michael


________________________________________

Michael Sashnikov
Architect of 2LKit for VJ++

mail: michael@jstyle.spb.ru
http://www.jstyle.spb.ru



Lois Neo <slneo@cybergal.com> wrote in message
news:7nah6e$pkq1@forums.borland.com...
>Hi,
>
>Is there any method to detect changing of list selection (to do some
>checking), and able to veto it such that it reverts back to the original
>selection?
>
>--
>Thanks for any help given
>
>Lois
>
>
Technical Details
Message-ID: <7ndrur$s4316@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7nah6e$pkq1@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,fcd29a05347971a5
X-Google-Attributes: gid111d45,public
From: "Michael Sashnikov" <michael@jstyle.spb.ru>
Subject: Re: Any way to veto JList list selection?
Date: 1999/07/25
Message-ID: <7ndrur$s4316@forums.borland.com>
X-Deja-AN: 504922483
References: <7nah6e$pkq1@forums.borland.com>
Organization: Another Netscape Collabra Server User
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Newsgroups: borland.public.jbuilder.java.swing