• Post Reply Bookmark Topic Watch Topic
  • New Topic

dragDropEnd not being call  RSS feed

 
Lee Barney
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have label that is my drag source and a JPanel that is the target.
My issue is that some times dragDropEnd doesn't get called and some times it does. I have print statements throughout the drop method that show that e.dropComplete(true) is getting called in these instances, but the first line in the dragDropEnd doesn't get called( it is a debug message).
I do some painting right after calling e.dropComplete(true). I saw a message saying that this ocational behavior can happen if the painting happens prior to the dropComplete true method.
So for some non-consistant number of drags everything is fine, and then dragging is not possible since the last drop is not complete.
any ideas?
 
LLiang JJin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey have you ever figure this out? I am having the same problems
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!