title: Print When Expression in iReport comparing 2 string
body: <p>Can I put more than one condition at print when expression? And can you please give the syntax. For example,</p>
  
  <pre><code>If Field Value = 'Cancelled' then Print Grey Color
  Feild Value = 'Proposed ' then Print Black Color
  </code></pre>
  
  <p>Etc</p>
  
  <p>Based on the Field value, I need to change the color of the text field.</p>
  
  <p>I used this syntax</p>
  
  <pre><code>$F{status_Current}.StringValue() ='Canceled'? Boolean.TRUE : Boolean.FALSE
  </code></pre>
  
  <p>But it's throwing an Error.</p>
  
  <p>Can someone please give the proper syntax for this</p>