@Override public void setForeground(Color fg) { if (fg instanceof ColorUIResource) { return; } super.setForeground(fg); } }
private void clearAttribute() { super.setFont(null); super.setBackground(null); super.setForeground(null); }
@Override public void setForeground(Color fg) { if (fg instanceof ColorUIResource) { return; } super.setForeground(fg); } }
private void clearAttribute() { super.setFont(null); super.setBackground(null); super.setForeground(null); }