mysterious Jlist behaviour (valuechanged)

wnstnsmith_at_yahoo.com
Date: 11/29/03


Date: Sat, 29 Nov 2003 02:15:56 GMT

Dear all,

Every time I klick in a Jlist to change its value, it turns out
valueChanged() is called twice, both times with the new seleceted index
value. I am not doubleclicking inadvertently.
I don't like it, because alle the work that is to be done on changing the
selected value is carried out twice as well, of course. Does anybody know
why two valauechanged events are sent and how I can get rid of this
behaviour?

tia,

Winston



Relevant Pages

  • Re: smaller equations: a & b, or just a..
    ... wondering about use of true/false in equations, and have not tried any of ... "Dana DeLouis" wrote: ... >> to get rid of. ... >> trying to get rid of using a=c twice, ...
    (microsoft.public.excel.misc)
  • Re: Its Retro Week! Play Want Bin
    ... then spent most of the weekend playing it. ... I think it would be twice the game it is if they just got rid of the laws system, but it's somehow still really good... ...
    (uk.games.video.misc)
  • Re: mysterious Jlist behaviour (valuechanged)
    ... >selected value is carried out twice as well, ... I don't know if you can get rid of this behavior, but you can deal with it. ... do not execute your code. ... Lee Weiner ...
    (comp.lang.java.programmer)
  • Re: Whats it called? Village name post thingy.
    ... once you get headlice in the family you'll very likely never be rid of ... Inky's had 'em twice, Pip not at all. ...
    (uk.rec.sheds)
  • Re: Sasha on Project Runway
    ... but Santino should have been kicked off twice now - ... the horrible austian collection and they got rid of Daniel. ... won twice for crap. ... finals period. ...
    (rec.sport.skating.ice.figure)