Hi guys,


if(IsColor.equals("Y"))
	cell.setBackgroundColor(new Color(240,240,255));
table.addCell(cell);

This cell.setBackgroundColor(new Color(240,240,255)); is for set back ground color as a blue. I need Green color. So, is there any values for green. Please contribute your advice...


Look at the API for Color. What are those int values in that statement?

Now, what do you think you might try if you want Green?

In any case, see the Class JColorChooser, and then Google for the JColorChooser demo and run it.