Java guess number game (swing)