if (customer instanceof TimeWindowedCustomer) {
TimeWindowedCustomer timeWindowedCustomer = (TimeWindowedCustomer) customer;
g.setColor(TangoColorFactory.ALUMINIUM_3);
int circleX = x - (TIME_WINDOW_DIAMETER / 2);
int circleY = y + 5;
g.drawOval(circleX, circleY, TIME_WINDOW_DIAMETER, TIME_WINDOW_DIAMETER);
g.fillArc(circleX, circleY, TIME_WINDOW_DIAMETER, TIME_WINDOW_DIAMETER,
90 - calculateTimeWindowDegree(maximumTimeWindowTime, timeWindowedCustomer.getReadyTime()),
calculateTimeWindowDegree(maximumTimeWindowTime, timeWindowedCustomer.getReadyTime())
- calculateTimeWindowDegree(maximumTimeWindowTime, timeWindowedCustomer.getDueTime()));
if (timeWindowedCustomer.getArrivalTime() != null) {