Simple calculator in java, with swing