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