paintComponent in Item-class