adding swing view to client