• Post Reply Bookmark Topic Watch Topic
  • New Topic

dragDropEnd gets called inconsistantly

 
LLiang JJin
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a drag panel that is a JPanel, and JLabel as my drag item. I get an "Drag in Progress" error sometimes when the dragDropEnd() method does not get called. Anyone out there have a solution for this, please let me know. This is driving me crazy.
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For Swing components it is recommended that we use TransferHandlers instead of the
java.awt.dnd package classes. You can find the tutorial page here:
Introduction to Drag and Drop and Data Transfer.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!