You mentioned in the comments that you were interested in the connection with idempotents. That way is nice because it works just fine for noncommutative rings. Here is the information on that.
Once you've shown that in an "absolutely flat"(=von Neumann regular) ring every nonzero principal right ideal is generated by an idempotent, you just note "the only nonzero idempotent in a domain is $1$, so if it's also a domain, every right ideal is the whole ring. Thus $R$ is a division ring."
In Lectures on modules and rings page 126-128, you can see the two small lemmas that help you prove this equivalence (pg 128):
- $R$ is von Neumann regular (i.e. for each $a\in R$ there exists an $x\in R$ such that $axa=a$.
- All right $R$ modules are flat.
- All cyclic right $R$ modules are flat.
Let's show that the first one up there is equivalent to this:
4 Every principal right ideal is generated by an idempotent.
Assuming $1$, you get that $(ax)^2=ax$, and so $aR=axaR\subseteq ax R\subseteq aR$. Thus $aR=axR$, and $ax$ is the idempotent.
Conversely, suppose $aR=eR$ for an idempotent $e$. We know that $a=er$ $as=e$ for some $r,s\in R$. The first one tells us that $ea=eer=er=a$, and then the second one combines with this to tell us that $asa=ea=a$.
Even for noncommutative rings you can see that this makes the principal right ideals idempotent. I don't know for certain that principal ideals being idempotent implies the ring is von Neumann regular, but for commutative rings it does. If $(a)=(a)^2$ for every $a\in R$, then you've got that $a^2x=a$ for some $x$, but using commutativity this is just the condition above that $axa=a$