backgroundColor = new Color(0,51,153,128);
backgroundColor = new Color(0,51,153);
        TitleBar(String name)        {            setBounds(bounds);            titleName = name;                        backgroundColor = new Color(0,51,153,128);            titleNode = new PText(name);            titleNode.setPaint(Color.white);            titleNode.setFont(titleFont);                        actionSet = new MouseDragActions();            actionSet.setDragAction(PiccoloModifiers.NORMAL,                                    PiccoloActions.DRAG_MOVE_ACTION);                        addChild(titleNode);            titleNode.setOffset(4,4);                        minimizeNode = new MinimizeIcon();            addChild(minimizeNode);            minimizeNode.setOffset(measuredWidth-60,0);                        // we assign the minimize icon's behavior here because it's            // always going to be applicable here.            MouseDownActions mouseActions = minimizeNode.getMouseDownActions();            mouseActions.setMouseClickAction(PiccoloModifiers.NORMAL,                                             new PiccoloAction()            {                public void execute()                {                    // TODO: actually do something useful                    System.err.println("Minimize clicked");                }                                public void execute(PInputEvent e)                {                    execute();                }            });            minimizeNode.setMouseDownActions(mouseActions);                        hideNode = new HideIcon();            addChild(hideNode);            hideNode.setOffset(measuredWidth-40,0);                        closeNode = new CloseIcon();            addChild(closeNode);            closeNode.setOffset(measuredWidth-20,0);        }