Need help with drag and drop
Ok so I have an applet and in the applet I have Jbuttons and I want certain Jbuttons to be draggable and other Jbuttons to be drop targets...but I have no idea how to do this. I made each Jbutton its own class, because I saw a site that had an example like that, but I'm not sure if this is right. I have looked at examples and Transferables are so confusing...I have no clue what to do, but I really need to finish this project could someone please help. I would appreciate it if you left example code.