public void setOn(boolean paramBoolean)
  {
    if (this.OnImage != null)
    {
      if ((paramBoolean) && (!this.On))
      {
        this.On = true;
        super.setImage(this.OnImage);

        return;
      }

      if ((!paramBoolean) && (this.On))
      {
        this.On = false;
        super.setImage(this.NormalImage);

        return;
      }

    }
    else
    {
      System.out.println("ImageButton: Attempt to setOn without an onImage.");
    }
  }