Deleted paintComponent