public PrepareClickedForDrag(Collection<DefaultNode> nodes,GraphPanel component){
  this.nodes=nodes;
  this.component=component;
}

public PrepareClickedForDrag ( Collection < DefaultNode > nodes , GraphPanel component ) { this . nodes = nodes ; this . component = component ; }
constructs a new instance of prepareclickedfordrag
