Swimming is better for your joints and bones. You don't have to worry about over-training one muscle, because all of them are being trained at once. Running will get you in shape a lot faster, and it's better for strength training. I'd pick running over swimming any day, I can't stand swimming back in forth in a pool, or running on treadmills.