But coloring the row dosent work , why ? can some1 help with the code please.

Where is the code you are using to change colors? All i see is "color red here", which obviously is not java syntax.
If there are any error messages post them here. If you can get it to compile, post the code including the color change part.
Where exactly are you stuck?