I am using setRGB() for changing the values of the pixel of an image.
int rgb=new Color(0,0,0).getRGB();
image1.setRGB(i,j,rgb); //where i,j is the boundaries of the image
Here,i am setting all the pixel values with white. But the change is not getting reflected in the image. Any One knows about the setRGB()
how it works?