(1) Complete the implementation of the doSetAlpha method. This method takes an integer value as its only parameter and sets the alpha level of every pixel in the image to that value. Recall that the alpha value controls the level of transparency. A value of 0 yields a fully transparent pixel while a value of 255 yields a fully opaque pixel.Note that there is an annotation attached to the parameter of this method: @ParamDescrip( "alpha value (0-255)" ). Be careful not to change this. The application uses the annotation to provide an appropriate prompt to the user when the Set Alpha option is selected from the Action menu.After implementing your method, test it by running the application and choosing Set Alpha from the Action menu. When prompted, enter a value between 0 and 255 and press OK. You should see the transparency level of your picture change accordingly. Note that if you enter a value of 0, your picture will be completely transparent so you won't be able to see it anymore!public void doSetAlpha( @ParamDescrip("alpha value (0-255)") int value)
{
// to be completed
    {
            
            
           
            PixelColour alpha = new PixelColour(  red,  green,  blue, value );
            Pixel nextPixel;            for( int y = 0; y < myPic.getImgHeight(); y++ )
            {
                for( int x = 0; x < myPic.getImgWidth(); x++ )
                {                    nextPixel = myPic.getPixel( x, y );
                    nextPixel.setColour( alpha );
                }
            }
        }
    }哪错了?thanks?