mofification de la class CrossingPanelThread