title: Remove space between detail and last page footer
body: <p>How i can remove the space between detail and last page footer in <em>JasperReports</em>?</p>
  
  <p>I need to remove the white space between them</p>
  
  <p>I use this code for lastpagefooter</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;lastPageFooter&gt;
      &lt;band height="187"&gt;
          &lt;staticText&gt;
              &lt;reportElement x="125" y="0" width="68" height="20" uuid="d7bc9c8a-c20b-4f79-8515-639609ead0cc"/&gt;
              &lt;box&gt;
                  &lt;topPen lineWidth="1.0"/&gt;
                  &lt;leftPen lineWidth="1.0"/&gt;
                  &lt;bottomPen lineWidth="1.0"/&gt;
                  &lt;rightPen lineWidth="1.0"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Right" verticalAlignment="Middle"&gt;
                  &lt;font size="14"/&gt;
              &lt;/textElement&gt;
              &lt;text&gt;&lt;![CDATA[المجموع : ]]&gt;&lt;/text&gt;
          &lt;/staticText&gt;
          &lt;textField&gt;
              &lt;reportElement x="35" y="0" width="90" height="20" uuid="4b93f507-3e79-4ba7-99ce-d65b64a1a78b"/&gt;
              &lt;box&gt;
                  &lt;topPen lineWidth="1.0"/&gt;
                  &lt;leftPen lineWidth="1.0"/&gt;
                  &lt;bottomPen lineWidth="1.0"/&gt;
                  &lt;rightPen lineWidth="1.0"/&gt;
              &lt;/box&gt;
              &lt;textElement textAlignment="Right" verticalAlignment="Middle"&gt;
                  &lt;font size="14"/&gt;
              &lt;/textElement&gt;
              &lt;textFieldExpression&gt;&lt;![CDATA[$P{Totals}]]&gt;&lt;/textFieldExpression&gt;
          &lt;/textField&gt;
          &lt;textField evaluationTime="Report"&gt;
              &lt;reportElement x="23" y="167" width="40" height="20" uuid="c0c0de0b-7bb5-4133-bf5e-dfe51f91dac4"/&gt;
              &lt;box rightPadding="2"/&gt;
              &lt;textElement textAlignment="Right"/&gt;
      &lt;/band&gt;
  &lt;/lastPageFooter&gt;
  </code></pre>
  
  <p><a href="http://www.gulfup.com/?lV8MpF" rel="nofollow">http://www.gulfup.com/?lV8MpF</a></p>
  
  <p>This is the file</p>