setBounds(0,0,measuredWidth,titleBar.getHeight()+iconBar.getHeight());
    public BPalette(BrowserTopModel parent, String name)    {        backingModel = parent;                final BPalette refCopy = this;        this.paletteName = name;        titleBar = new TitleBar(name);        iconBar = new IconBar(measuredWidth);        addChild(titleBar);        titleBar.addChild(iconBar); // cheap way to get the whole thing to move        iconBar.setOffset(0,titleBar.getHeight());        // sets the bounds        setBounds(0,0,measuredWidth,titleBar.getHeight()+iconBar.getHeight());    }