code: public void drawThreadSwapOut(GenericTabItem tab, TraceCPU cpu, TraceThread currentThread, TraceThread swappedThread)
  	{
  		TraceObject obj = swappedThread.getCurrentObject();
  		updateObject(tab, obj);
  		
  		Long x1 = obj.getX();
  		Long x2 = x1;
  		Long y1 = tab.getYMax();
  		Long y2 = y1 + ELEMENT_SIZE;
  
  		drawMarker(tab, x1, y1, x2, y2, ColorConstants.gray);
  		drawSwapImage(tab, x1, y1, SWAP_DIRECTION.EAST);
  
  		obj.setY(y2);
  	}
docs: Threads