public void setForeground(Color fg) { super.setForeground(fg); if (label != null) { label.setForeground(fg); draw.setForeground(fg); } }
public void setBackground(Color bg) { super.setBackground(bg); if (label != null) { label.setBackground(bg); draw.setBackground(bg); } }
public void setName(String n) { name = n; label.setText(name); }