This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
private void updateColors (FontColorSettings fcs) {
Color oldC = bgColor;
bgColor = getParent().getBackground();
AttributeSet as = fcs.getFontColors(FontColorNames.DEFAULT_COLORING);
Coloring coloring = as == null ? null : Coloring.fromAttributeSet(as);
Color newC = null;
if (coloring != null) {
newC = coloring.getBackColor();
}
bgColor = newC == null ? defaultBackground() : newC;
if (!bgColor.equals(oldC)) {
EventQueue.invokeLater(new Runnable() {