error during changing the color of paintComponent of my JPanel

Printable View