public void setForeground(Color color) { super.setForeground(color); if (logo != null) logo.setForeground(color); if (center != null) center.setForeground(color); // if(bottom != null) // bottom.setForeground(color); if (marketSharePanel != null) marketSharePanel.setForeground(color); }