This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
The code supplied is not an SSCCE so I can't run it to see what happens. The inconsistent formatting and poor choice of variable and method names doesn't help either but I suspect the problem is down to dragging and dropping from an enabled to a disabled component which you enable all on the EDT.
I suggest you try running the app with the drop buttons enabled and see if it works then. If so you may need to start a background thread to add tasks to the EventQueue in a specific order ie add a Runnable to enable the buttons and then add a Runnable to handle the drag and drop.
Oh background threading.. I have no knowledge on them yet. I have to do some research.
Joined: Aug 07, 2007
Ok, I can see what you mean now. The problem you are seeing is just down to the way drag and drop works. When you drag from one component to another event handers such as ChangeListeners are disabled as the component you are dragging from needs to remain as the focused component. When you drop the image onto the new component the original component still retains focus and (in Java 6, not sure if the behaviour is the same in Java 7) the ChangeListener for the dropped on component isn't re-enabled until you exit the component.
subject: changeListener not executing immediately; requires a hover for it to work.