Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #27539

Re: problems with editable JList

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.programmer
Subject Re: problems with editable JList
Date Mon, 17 Feb 2014 12:19:56 -0800
Organization A noiseless patient Spider
Lines 24
Message-ID <ldtqtd$8e1$1@dont-email.me> (permalink)
References <bmepjbFoa1fU1@mid.individual.net> <ldtkm0$vlu$1@dont-email.me> <bmf86bFrgs5U1@mid.individual.net>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Mon, 17 Feb 2014 20:19:57 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="9358cda03e1e0dfd3c4b757daa608707"; logging-data="8641"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18amLUSpjpAtSqlaQwBFno1djKKQ71Y7Yg="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
In-Reply-To <bmf86bFrgs5U1@mid.individual.net>
Cancel-Lock sha1:sNyQK5DeuXT3vxWNQoraJEQUuhg=
Xref csiph.com comp.lang.java.programmer:27539

Show key headers only | View raw


On 2/17/2014 12:02 PM, blmblm@myrealbox.com wrote:

> markspace  <markspace@nospam.nospam> wrote:
>>
>> I think your event listeners are tripping you up.  They're probably

>
> I'd have said not -- based on output of the even-more-debug-prints
> version I'm reasonably confident that I'm not getting that kind of
> recursion/loop, and anyway I only modify the selection in code to
> process add/remove events, rather than in ....


I didn't read your code carefully to find the bug -- there was quite a 
lot of it.  Rather I just focused on your idea that there might be a bug 
in JList or DefaultModelListener.  So I purposely started over from 
scratch, since that should duplicate the bug if there was one.

When it worked, I basically stopped there and posted the code I had.  No 
sense in belaboring something that's working.

Anyway, glad you got yourself straightened out.  Good luck.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-17 15:53 +0000
  Re: problems with editable JList markspace <markspace@nospam.nospam> - 2014-02-17 10:33 -0800
    Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-17 20:02 +0000
      Re: problems with editable JList markspace <markspace@nospam.nospam> - 2014-02-17 12:19 -0800
        Re: problems with editable JList Lew <lewbloch@gmail.com> - 2014-02-18 02:31 -0800
          Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-18 12:46 +0000
            Re: problems with editable JList Lew <lewbloch@gmail.com> - 2014-02-18 16:07 -0800
              Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-19 14:10 +0000
        Re: problems with editable JList blmblm@myrealbox.com <blmblm.myrealbox@gmail.com> - 2014-02-18 12:39 +0000

csiph-web