JComponent Drag and Drop help needed
Can anyone help me out in creating a JPanel which will accept Images dropped onto it. The Images for the time being can be the Icons on a JLabel.
PS. I need the code for the Transferable and TransferHandler too.
Here is some of it.
This one takes dnd from windows file browser (like photoshop). I've made
it a simple as it gets, - I think.
You may want to remove the package directive on top.
Last edited by sjalle; 04-05-2005 at 04:27 AM.
Thanks sjalle... I will take a look at it now and if I need further help, will ask for it
Need more help...
This example shows the String and javaFileListFlavor.. I was interested in Image(s) transferables... If anyone can provide an example of an Image Drag and Drop that will be great. Thank you.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center