@Override public DragSourceContextPeer createDragSourceContextPeer(DragGestureEvent dge) throws InvalidDnDOperationException {
  final LightweightFrame f=SunToolkit.getLightweightFrame(dge.getComponent());
  if (f != null) {
    return f.createDragSourceContextPeer(dge);
  }
  return WDragSourceContextPeer.createDragSourceContextPeer(dge);
}

@ Override public DragSourceContextPeer createDragSourceContextPeer ( DragGestureEvent dge ) throws InvalidDnDOperationException { final LightweightFrame f = SunToolkit . getLightweightFrame ( dge . getComponent ( ) ) ; if ( f != null ) { return f . createDragSourceContextPeer ( dge ) ; } return WDragSourceContextPeer . createDragSourceContextPeer ( dge ) ; }
create the peer for a dragsourcecontext
