code: public void setControlValue(Object objValue)
      {
          m_image = objValue;
          if (m_image instanceof ImageIcon)
              this.setPreferredSize(new Dimension(((ImageIcon)m_image).getIconWidth(), ((ImageIcon)m_image).getIconHeight()));
          else
              this.setPreferredSize(IMAGE_MIN_SIZE);
          this.revalidate();
          this.repaint();
      }
docs: Set the value.
  @param objValue The raw data (a Boolean).