add paintComponent() method