Note: Here, you can drag items either from the palette or from a node in an explorer view, such as in the Projects window. The palette's DragAndDropHandler isn't used, so that the drag functionality is not limited to the palette. This means that, in your own implementation, you could exclude the palette completely and only provide drag and drop from nodes in the explorer view. Cool, right?
If you're interested in this sample, and if you're using NetBeans IDE 5.5 Beta 2, download the sample here:
When you install it in the IDE, you will see it in the Samples section of the New Project wizard:
Happy dragging and happy dropping!
In other news. Check out Aladejebi Ayodeji's cool report on the recently held Sun Developer Day in Lagos, Nigeria! Sounds like Sang and Angela and others had a very successful time there.