You'll never explicitly call paintComponent(g),
Java will.
The method repaint() instructs Java to call paintComponent(g) through a series of other calls. This is not explicit however, and is in no way guaranteed.
I recommend Googling about the hierarchy of calls that takes place when repaint() is called, and maybe follow through some painting tutorials.
Best,
Caleb