rwl.writeLock().unlock();
    public void setDefaultZ(int z)    {        rwl.writeLock().lock();        {            if (renderer == null)                throw new IllegalStateException(NULL_RENDERER);                        renderer.setDefaultZ(z);        }        rwl.writeLock().unlock();    }