Question : to draw a image using red or green color

I need to draw an image. The image is any geometrical shape like square, circle. Currently I am able to draw these shapes using black color. Now I need to give an option to the user, to draw the image using green or red color. The user would be able to select between green or red color. If he selects green, then he should be able to draw the image using green color else, he would be able to draw the image using red color.

Kindly advise how to do it.

Answer : to draw a image using red or green color

you need to show the code that you are using. If its plain JSP at the end, then a simple if condition in jsp can achieve what you are trying to do
Random Solutions  
 
programming4us programming4us