title: Print when last row on table Jasper report
body: <p>I have a report that needs to have an image printed only in the <strong>last row</strong> of the table of each page.
  How can I create my <strong>print when expression</strong>?</p>
  
  <p>Edit:</p>
  
  <p>Sorry for my poor exemple.</p>
  
  <p>until now, i created this variable</p>
  
  <pre><code>&lt;variable name="rowsOnPage" class="java.lang.Integer"&gt;
          &lt;variableExpression&gt;&lt;![CDATA[$V{rowsOnPage} + 1]]&gt;&lt;/variableExpression&gt;
          &lt;initialValueExpression&gt;&lt;![CDATA[0]]&gt;&lt;/initialValueExpression&gt;
  &lt;/variable&gt;
  </code></pre>
  
  <p>and i try this print when expression:</p>
  
  <pre><code>$V{rowsOnPage} == $V{REPORT_COUNT}
  </code></pre>
  
  <p>But this expression print the image in each row of table.</p>