I'm not that into aviation myself, but from what I understand the 340 was a very successful machine that both pilots and service crew liked. The 2000 that came after was discontinued pretty soon because the sales didn't take off. Can't remember what the objections were, maybe it wasn't as efficient?
The Gripen is very impressive in that it was developed in such a small country as Sweden. And as far as I know it was the first sub-sonic instable fighter.