returnTask[i].setColor(colorButton.getBackground());
if ((((this.taskShape == null) && (shapeComboBox.getSelectedIndex() != 0)))
|| ((this.taskShape != null) && (!this.taskShape
.equals((ShapePaint) shapeComboBox
.getSelectedPaint()))))
returnTask[i].setShape(new ShapePaint(
(ShapePaint) shapeComboBox.getSelectedPaint(),
Color.white, returnTask[i].getColor()));
if (returnTask[i].getShape() != null)
returnTask[i].setShape(new ShapePaint(returnTask[i].getShape(),
Color.white, returnTask[i].getColor()));
mutator.commit();
if (onlyOneTask) {
myDependenciesPanel.getTableModel().commit();