Icon icon = StyleConstants.getIcon(getElement().getAttributes()); Rectangle b = a.getBounds(); icon.paintIcon(getContainer(), g, b.x, b.y);
  public void paint(Graphics g, Shape a)  {    // TODO: Implement me.  }