priorityOrdersJButton.setEnabled(!s.hasPriorityOrders());
priorityOrdersJButton.setEnabled(!scheduleIterator.hasPriorityOrder());
    private void enableButtons(){        MutableSchedule s  = getSchedule();        addStationJButton.setEnabled(s.canAddOrder());                //Only one set of prority orders are allowed.        priorityOrdersJButton.setEnabled(!s.hasPriorityOrders());	editOrderJPopupMenu.setEnabled(true);    }