paintComponent not drawing everything until repaint() is called
I am working on a chess engine, and I have the following problem: my chess pieces are not drawn unless repaint() is called. However, the squares (= the chess field) appear just fine. I read I should …