/** * Sets the background color in all components of this panel. * @param color the background color. */ public void setBackground(Color color) { super.setBackground(color); if (_mosaic!=null) _mosaic.setBackground(color); if (_colorBar!=null) _colorBar.setBackground(color); if (_title!=null) _title.setBackground(color); }
_colorBar.setFont(getFont()); _colorBar.setForeground(getForeground()); _colorBar.setBackground(getBackground()); if (_colorBarFormat!=null) _colorBar.setFormat(_colorBarFormat);