title: Formatting field data color based on condition
body: <p>I'm new to JasperReports. I'm designing report using iReport. My requirement is I have two values (Fields) x,y to compare. If x &lt; y then the data color for y should be changed to 'black' &amp; if greater then data color of y should be changed to 'red'. </p>
  
  <p>Please advice me as to how to proceed on this &amp; where to validate.</p>