JPanel checkBoxes = new JPanel();
checkBoxes.setLayout(new GridLayout(graph.getChildren().size(), 1));
if (graph.hasChildren()) {
for (ModelGraph childGraph : graph.getChildren()) {
final String modelId = childGraph.getModel().getModelId();
Checkbox checkbox = new Checkbox(modelId, graph.getModel()
.getExcusedSubProcessorIds().contains(modelId));
checkBoxes.add(checkbox);
checkbox.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e) {
if (e.getStateChange() == ItemEvent.DESELECTED)
graph.getModel().getExcusedSubProcessorIds().remove(modelId);
else if (e.getStateChange() == ItemEvent.SELECTED)