I'm trying to add drag-and-drop functionality to a JPanel. Specifically, I want to create a JPanel that accepts drops of other Components. In looking over the documentation and example code, it seems that I need to implement a custom TransferHandler for the JPanel, but I'm a little confused as to how to start. Can I just do a
Does anyone know of an existing example of how to do this? I'd appreciate a push in the right direction. Thanks!
There's nothing more dangerous than a resourceful idiot. ---Dilbert
I could give you help pre 1.4 but as I understand it with 1.4 you only need to set some variable to TRUE and it will start accepting drops. Of course its got to be able to understand what its receiving somehow. I haveent looked into the 1.4 architecture.