this.graphics = new HashMap();
    public void setFrameHelper(FrameHelper h) {        synchronized (lock) {            this.graphics = new HashMap();            this.frameHelper = h;            root.setFrameHelper(frameHelper, this);        }    }