Name: skT45625 Date: 04/27/2000
Java version "1.2.2"
Classic VM (build JDK-1.2.2-W, native threads, symcjit)
While implementing DnD between two DnDLists (as in the tutorial example found
http://web2.java.sun.com/docs/books/tutorial/dnd/sheetal.html). I noticed that
I was somehow creating duplicate objects. After further investigation I found
that if you click on an object in one list, (speed is the key here) immediately
drag it over the other list (while moving in a diagonal direction), and release
the mouse button, sometimes the object dropped is the one selected in the first
list, but the object removed from the first list is not. This creates a
duplicate of the selected object in the second list. An object is removed from
the first list, but it is not the one selected.
I thought this was something particular about my application of the DnD
technology, but found that it also happens in the tutorial example mentioned
above. This may be a timing problem that is only noticed on slower CPUs. I'm
using a 233 Mhz Pentium II and had the problem.
Can anyone else reproduce this error and if so, is there a work around?
This is the second time I have submitted this bug. I didn't get a reply the
(Review ID: 104199)