removed setter for painpanel in client receiver and moved it to
constructor