Simple calculator using swing