This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186377

Summary: Missing API for customizing DragSource from the palette.
Product: platform Reporter: David Kaspar <dkaspar>
Component: PaletteAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: ENHANCEMENT Exception Reporter:

Description David Kaspar 2010-05-19 12:00:37 UTC
Currently the dragged item from the palette is not customizable. Therefore dragging an item from palette on MacOSX will automatically be displayed as a rectangle of size of the boundary of the dragged item in the Palette. There are some specialized scenarios where you want to disable or change that default rectangle e.g. when you are dragging an item from Palette and dropping it into a visual-designer e.g. Java Matisse or JavaFX Composer. These Design areas are rendering the dragged item directly in their area and with better details (e.g. an actual component instead of a Rectangle).

Therefore there should be an API/SPI which allows to customize it by the owner of the content of the Palette.