emptyMessagePanel.setBounds(0, r.height-h, w, h);
emptyMessagePanel.setBounds(0, r.height-h, 3*w/2, h);
    private void buildEmptyPanel()    {        if (emptyMessagePanel != null) return;        emptyMessagePanel = new JPanel();        emptyMessagePanel.setOpaque(true);        emptyMessagePanel.setBorder(                            BorderFactory.createLineBorder(Color.BLACK));        Rectangle r = titlePanel.getBounds();                emptyMessagePanel.setLayout(new BoxLayout(emptyMessagePanel,                                                BoxLayout.X_AXIS));        IconManager im = IconManager.getInstance();        JLabel label = new JLabel(im.getIcon(IconManager.ERROR));        emptyMessagePanel.add(label);        int w = label.getWidth();        label = new JLabel(EMPTY_MSG);        int h = label.getFontMetrics(label.getFont()).getHeight();        w += getFontMetrics(getFont()).stringWidth(EMPTY_MSG);        emptyMessagePanel.add(label);        Insets i = emptyMessagePanel.getInsets();        h += i.top+i.bottom+2;        emptyMessagePanel.setBounds(0, r.height-h, w, h);    }