private void drawDragBorder(final ExecutionUnit process,final Graphics2D g2){
  double width=model.getProcessWidth(process);
  double height=model.getProcessHeight(process);
  Shape dragFrame=new RoundRectangle2D.Double(DRAG_BORDER_PADDING,DRAG_BORDER_PADDING,width - 2 * DRAG_BORDER_PADDING,height - 2 * DRAG_BORDER_PADDING,DRAG_BORDER_CORNER,DRAG_BORDER_CORNER);
  g2.setColor(BORDER_DRAG_COLOR);
  g2.setStroke(BORDER_DRAG_STROKE);
  g2.draw(dragFrame);
}

private void drawDragBorder ( final ExecutionUnit process , final Graphics2D g2 ) { double width = model . getProcessWidth ( process ) ; double height = model . getProcessHeight ( process ) ; Shape dragFrame = new RoundRectangle2D . Double ( DRAG_BORDER_PADDING , DRAG_BORDER_PADDING , width - 2 * DRAG_BORDER_PADDING , height - 2 * DRAG_BORDER_PADDING , DRAG_BORDER_CORNER , DRAG_BORDER_CORNER ) ; g2 . setColor ( BORDER_DRAG_COLOR ) ; g2 . setStroke ( BORDER_DRAG_STROKE ) ; g2 . draw ( dragFrame ) ; }
draws the drag border .
