}
/**
- * Compute cell color depending if cell is active and if mouse is over the
+ * Compute cell color depending on if cell is active and if mouse is over the
* cell.
*/
private Color computeCellColor() {
}
@Override
- public boolean mouseClicked() {
+ public boolean mouseClicked(int button) {
setActive(!isActive());
return true;
}