While military pay looks like peanuts, the chart doesn't really reflect what an officer makes. Added on to my base pay I got a couple hundred cost of living allowance, flight pay, ($650 per month when I got out), housing allowance (rate varies by state), basic food allowance. TDY pay for attending courses/exercises. Of course when you deploy your pay is tax free and if in a combat zone or imminent danger area you get extra pay for that. Add on free medical, free dental, free college, (with housing allowance), almost free technical school (including flight training). Not a bad deal for putting up with some minor inconveniences.
Of course we don't do it for the money anyway. With the places I've been and the things I've experienced I wouldn't have traded it for the world. Anytime you get paid to fly, life is good.