From 3.6.J in Vakil:
Let $k$ be a field, and let $A$ be a finitely generated $k$-algebra. We want to show the closed points are dense in $\operatorname{Spec} A$. This is the set of prime ideals of $A$ endowed with the Zariski topology; closed points correspond to maximal ideals. Using distinguished open sets, this exercise amounts to showing that any distinguished open set $D(f) \neq \operatorname{Spec} A$ contains a closed point; i.e. we want a maximal ideal of $A$ not containing $f$.
Vakil then gives a hint about using the nullstellensatz and residue fields, but I don't see why we can't just do the following: there's an inclusion-preserving bijection between (i) ideals of $A$ not containing any power of $f$, and (ii) ideals of the localization $A_f$. Then take a maximal ideal of $A_f$; which gives a maximal ideal of $A$ not containing $f$.
Is this right? It seems too simple given the hint, so I think I'm botching something.