};
OperationsPanel operations = new OperationsPanel() {
@Override
protected void performResultExecution() {
try {
int result = new SimpleCalculator(results.getInput()).calculate();
results.setOutput(Integer.toString(result));
} catch (UnsupportedOperationException exception) {
results.setOutput(exception.getMessage());
}
}