I have 2 images stored in the variables
Image img_arrowl; Image img_arrowr; and now I need a function or method to set the opacity of these two images. So the syntax I'm after would be something like the following:
img_arrowl = set_imgopacity(img_arrowl,0.75); img_arrowr = set_imgopacity(img_arrowr,0.75);
The only thing is how do I create the set_imgopacity() function/method. I have spent all day searching the web with no straight forward answer. And Java isn't my major of all languages so could somebody help me with creating this function.
Any help is appreciated.