public SelectShiftClicked(Collection<DefaultNode> paintedNodes,GraphPanel component,Color color){
  this.paintedNodes=paintedNodes;
  this.component=component;
  this.color=color;
}

public SelectShiftClicked ( Collection < DefaultNode > paintedNodes , GraphPanel component , Color color ) { this . paintedNodes = paintedNodes ; this . component = component ; this . color = color ; }
constructs a new instance of selectshiftclicked
