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


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

Re: problems with editable JList

From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.programmer
Subject Re: problems with editable JList
Date 2014-02-17 12:19 -0800
Organization A noiseless patient Spider
Message-ID <ldtqtd$8e1$1@dont-email.me> (permalink)
References <bmepjbFoa1fU1@mid.individual.net> <ldtkm0$vlu$1@dont-email.me> <bmf86bFrgs5U1@mid.individual.net>

Show all headers | 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