/** * {@inheritDoc} <p> * * Overridden to set the background of the delegate and icon label as well. */ @Override public void setBackground(Color bg) { super.setBackground(bg); if (iconLabel != null) { iconLabel.setBackground(bg); } if (delegate != null) { delegate.setBackground(bg); } }
legendTitlePanel.setBackground(COLOR_HIGH); legendTitlePanel.setDoubleBuffered(true); legendTitlePanel.setAlpha(.8f); legendActionPanel.setBackground(COLOR_HIGH); legendActionPanel.setAlpha(.8f); legendColorPanel.setBackground(COLOR_HIGH); legendColorPanel.setDoubleBuffered(true); legendColorPanel.setAlpha(.8f); legendMainPanel.setBackground(COLOR_HIGH); legendMainPanel.setDoubleBuffered(true); legendMainPanel.setAlpha(.8f);
/** * {@inheritDoc} <p> * * Overridden to set the background of the delegate and icon label as well. */ @Override public void setBackground(Color bg) { super.setBackground(bg); if (iconLabel != null) { iconLabel.setBackground(bg); } if (delegate != null) { delegate.setBackground(bg); } }
/** * {@inheritDoc} <p> * * Overridden to set the background of the delegate and icon label as well. */ @Override public void setBackground(Color bg) { super.setBackground(bg); if (iconLabel != null) { iconLabel.setBackground(bg); } if (delegate != null) { delegate.setBackground(bg); } }
/** * {@inheritDoc} <p> * * Overridden to set the background of the delegate and icon label as well. */ @Override public void setBackground(Color bg) { super.setBackground(bg); if (iconLabel != null) { iconLabel.setBackground(bg); } if (delegate != null) { delegate.setBackground(bg); } }
/** * {@inheritDoc} <p> * * Overridden to set the background of the delegate and icon label as well. */ @Override public void setBackground(Color bg) { super.setBackground(bg); if (iconLabel != null) { iconLabel.setBackground(bg); } if (delegate != null) { delegate.setBackground(bg); } }
/** * {@inheritDoc} * <p> * * Overridden to set the background of its child compenents. */ @Override public void setBackground(Color bg) { super.setBackground(bg); for (int i = 0; i < getComponentCount(); i++) { getComponent(i).setBackground(bg); } if (yearSpinner != null) { yearSpinner.setBackground(bg); yearSpinner.getEditor().setBackground(bg); ((DefaultEditor) yearSpinner.getEditor()).getTextField() .setBackground(bg); } }
/** * {@inheritDoc} * <p> * * Overridden to set the background of its child compenents. */ @Override public void setBackground(Color bg) { super.setBackground(bg); for (int i = 0; i < getComponentCount(); i++) { getComponent(i).setBackground(bg); } if (yearSpinner != null) { yearSpinner.setBackground(bg); yearSpinner.getEditor().setBackground(bg); ((DefaultEditor) yearSpinner.getEditor()).getTextField() .setBackground(bg); } }
/** * {@inheritDoc} * <p> * * Overridden to set the background of its child compenents. */ @Override public void setBackground(Color bg) { super.setBackground(bg); for (int i = 0; i < getComponentCount(); i++) { getComponent(i).setBackground(bg); } if (yearSpinner != null) { yearSpinner.setBackground(bg); yearSpinner.getEditor().setBackground(bg); ((DefaultEditor) yearSpinner.getEditor()).getTextField() .setBackground(bg); } }
/** * {@inheritDoc} * <p> * * Overridden to set the background of its child compenents. */ @Override public void setBackground(Color bg) { super.setBackground(bg); for (int i = 0; i < getComponentCount(); i++) { getComponent(i).setBackground(bg); } if (yearSpinner != null) { yearSpinner.setBackground(bg); yearSpinner.getEditor().setBackground(bg); ((DefaultEditor) yearSpinner.getEditor()).getTextField() .setBackground(bg); } }
/** * {@inheritDoc} * <p> * * Overridden to set the background of its child compenents. */ @Override public void setBackground(Color bg) { super.setBackground(bg); for (int i = 0; i < getComponentCount(); i++) { getComponent(i).setBackground(bg); } if (yearSpinner != null) { yearSpinner.setBackground(bg); yearSpinner.getEditor().setBackground(bg); ((DefaultEditor) yearSpinner.getEditor()).getTextField() .setBackground(bg); } }