* @param state true to enable drag and drop support
*/
public void setDragEnabled( boolean state )
{
if ( state ) {
XTransferHandlerFactory thf = XTransferHandlerFactory.getInstance( XProjectManager.getCurrentProject());
if ( thf != null ) {
TransferHandler th = thf.getTransferHandler( this, null );
if ( th != null ) {
super.setDragEnabled( true );
setTransferHandler( th );
// addMouseListener( this );
// addMouseMotionListener( this );