title: How do I prevent a subreport from rendering over the top of other elements?
body: <p>I have a master report that contains three sub-reports, named "vehicleListSubReport.jrxml", "locoSubreport.jrxml", and "crewSubreport.jrxml" Their datasources are the fields "vehicleReport", "locoReport" and "crewReport" respectively, which are all objects of type JRDataSource. </p>
  
  <p>I am having a few problems, but I feel that they may have a single root cause, hence why I am asking about them all in the same question. Firstly, the code:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!-- Created with Jaspersoft Studio version last--&gt;
  &lt;jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="X2010" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="25640552-4299-40b4-8655-a64e83b16458"&gt;
      &lt;property name="com.jaspersoft.studio.unit." value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/&gt;
      &lt;property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/&gt;
      &lt;style name="Title" fontName="Times New Roman" fontSize="50" isBold="true" pdfFontName="Times-Bold"/&gt;
      &lt;style name="SubTitle" forecolor="#736343" fontName="Arial" fontSize="18"/&gt;
      &lt;style name="Column header" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/&gt;
      &lt;style name="Detail" fontName="Arial" fontSize="12"/&gt;
      &lt;style name="Row" mode="Transparent"&gt;
          &lt;conditionalStyle&gt;
              &lt;conditionExpression&gt;&lt;![CDATA[$V{REPORT_COUNT}%2 == 0]]&gt;&lt;/conditionExpression&gt;
              &lt;style backcolor="#E6DAC3"/&gt;
          &lt;/conditionalStyle&gt;
      &lt;/style&gt;
      &lt;queryString&gt;
          &lt;![CDATA[]]&gt;
      &lt;/queryString&gt;
      &lt;field name="trainNumber" class="java.lang.String"/&gt;
      &lt;field name="crewReport" class="net.sf.jasperreports.engine.JRDataSource"/&gt;
      &lt;field name="trainType" class="java.lang.String"/&gt;
      &lt;field name="origin" class="java.lang.String"/&gt;
      &lt;field name="dangerousGoods" class="java.lang.Boolean"&gt;
          &lt;fieldDescription&gt;&lt;![CDATA[]]&gt;&lt;/fieldDescription&gt;
      &lt;/field&gt;
      &lt;field name="outOfGauge" class="java.lang.Boolean"/&gt;
      &lt;field name="trainDate" class="java.util.Date"/&gt;
      &lt;field name="approvedLength" class="java.lang.Integer"/&gt;
      &lt;field name="destination" class="java.lang.String"/&gt;
      &lt;field name="specialLoad" class="java.lang.Boolean"/&gt;
      &lt;field name="submittedBy" class="java.lang.String"/&gt;
      &lt;field name="phone" class="java.lang.String"/&gt;
      &lt;field name="submittedAtDateTime" class="java.util.Date"/&gt;
      &lt;field name="fax" class="java.lang.String"/&gt;
      &lt;field name="numberOfVehicles" class="java.lang.Integer"/&gt;
      &lt;field name="tonnesHauled" class="java.lang.String"/&gt;
      &lt;field name="tonnesGross" class="java.lang.String"/&gt;
      &lt;field name="totalLength" class="java.lang.Double"/&gt;
      &lt;field name="locoReport" class="net.sf.jasperreports.engine.JRDataSource"/&gt;
      &lt;field name="vehicleReport" class="net.sf.jasperreports.engine.JRDataSource"/&gt;
      &lt;field name="railOperatorName" class="java.lang.String"/&gt;
      &lt;field name="submitter" class="java.lang.String"/&gt;
      &lt;field name="consistLocation" class="java.lang.String"/&gt;
      &lt;group name="Group1"&gt;
          &lt;groupExpression&gt;&lt;![CDATA[(int)($V{REPORT_COUNT}/15)]]&gt;&lt;/groupExpression&gt;
          &lt;groupFooter&gt;
              &lt;band height="50" splitType="Stretch"&gt;
                  &lt;printWhenExpression&gt;&lt;![CDATA[$F{vehicleReport} != null]]&gt;&lt;/printWhenExpression&gt;
              &lt;/band&gt;
          &lt;/groupFooter&gt;
      &lt;/group&gt;
      &lt;group name="Group2"&gt;
          &lt;groupExpression&gt;&lt;![CDATA[(int)($V{REPORT_COUNT}/5)]]&gt;&lt;/groupExpression&gt;
          &lt;groupFooter&gt;
              &lt;band height="107" splitType="Stretch"/&gt;
          &lt;/groupFooter&gt;
      &lt;/group&gt;
      &lt;background&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/background&gt;
      &lt;title&gt;
          &lt;band height="65" splitType="Stretch"&gt;
              &lt;staticText&gt;
                  &lt;reportElement style="Title" x="80" y="0" width="472" height="62" uuid="b89a83c9-c1a2-4ab6-85a2-88ba23795dd3"/&gt;
                  &lt;textElement verticalAlignment="Middle"&gt;
                      &lt;font pdfFontName="Times-Roman"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[X20.10 Report]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
          &lt;/band&gt;
      &lt;/title&gt;
      &lt;pageHeader&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/pageHeader&gt;
      &lt;columnHeader&gt;
          &lt;band height="5" splitType="Stretch"&gt;
              &lt;line&gt;
                  &lt;reportElement positionType="FixRelativeToBottom" x="1" y="1" width="552" height="2" uuid="f93f01ef-7224-41b8-a330-380bec4336d6"/&gt;
                  &lt;graphicElement&gt;
                      &lt;pen lineWidth="0.5" lineColor="#999999"/&gt;
                  &lt;/graphicElement&gt;
              &lt;/line&gt;
          &lt;/band&gt;
      &lt;/columnHeader&gt;
      &lt;detail&gt;
          &lt;band height="400" splitType="Stretch"&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="120" width="90" height="20" uuid="20c60332-1cff-4218-bfce-57cec3e447dd"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Train Number:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;subreport runToBottom="true"&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="-20" y="220" width="595" height="45" uuid="4f24664e-5df0-4326-9b95-9939f93c48d4"/&gt;
                  &lt;dataSourceExpression&gt;&lt;![CDATA[$F{crewReport}]]&gt;&lt;/dataSourceExpression&gt;
                  &lt;subreportExpression&gt;&lt;![CDATA["crewSubreport.jasper"]]&gt;&lt;/subreportExpression&gt;
              &lt;/subreport&gt;
              &lt;textField&gt;
                  &lt;reportElement x="90" y="120" width="90" height="20" uuid="110c9328-d33c-4c0a-86e5-7f4ebe669b4f"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{trainNumber}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="90" width="554" height="30" uuid="efaedffc-7d27-40f0-acc1-71797d91472c"/&gt;
                  &lt;box&gt;
                      &lt;topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                      &lt;leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                      &lt;bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                      &lt;rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                  &lt;/box&gt;
                  &lt;textElement textAlignment="Center"&gt;
                      &lt;font size="18"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Train Details]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="140" width="90" height="20" uuid="91493735-ab12-4068-9583-9edbbac7ca35"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Train Type:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="160" width="90" height="20" uuid="a3e483b0-59c4-494c-ad36-1ea30eb4c5f5"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Origin]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="180" width="90" height="20" uuid="f5f23f73-3bdb-4b12-b9ec-d1946d1d249c"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Dangerous Goods:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="200" width="90" height="20" uuid="49aebc16-13db-4842-bb0f-23eac8f693a4"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Out of Gauge:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField&gt;
                  &lt;reportElement x="90" y="140" width="90" height="20" uuid="ff7d87fc-1087-4edf-b1ed-454ff8ae94f8"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{trainType}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="90" y="160" width="90" height="20" uuid="7f109b0f-f4f4-48af-9a13-909b766dbd3c"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{origin}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="90" y="180" width="90" height="20" uuid="67f7fd28-1cee-402d-8a35-523058ab5061"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{dangerousGoods} ? "Yes" : "No"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="90" y="200" width="90" height="20" uuid="82586e0e-b6a7-43cf-9b1f-a12612396909"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{outOfGauge} ? "Yes" : "No"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="280" y="120" width="100" height="20" uuid="94651700-a070-400e-a206-fd09170cf797"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Train Date:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField pattern="dd/MM/yyyy"&gt;
                  &lt;reportElement x="380" y="120" width="100" height="20" uuid="2ea29a18-1d85-4a23-b9f6-17459ceafe0d"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{trainDate}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="280" y="140" width="100" height="20" uuid="3ffe5495-6b91-424b-b652-c48c72b39a8f"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Approved Length:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="280" y="160" width="100" height="20" uuid="68bcc4c2-d6c0-426b-979c-c70bbd1c550c"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Destination:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="280" y="180" width="100" height="20" uuid="83e83257-d581-4fdd-8955-ef281357aaae"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Special Load:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField&gt;
                  &lt;reportElement x="380" y="140" width="100" height="20" uuid="0f1b2cf0-73a3-4106-904a-8a28b7717909"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{approvedLength}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="380" y="160" width="100" height="20" uuid="7a006853-a10a-4759-889f-b9848a59d79b"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{destination}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="380" y="180" width="100" height="20" uuid="521136d0-a51f-4ca1-bdce-6d0ed1cd5c76"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{specialLoad} ? "Yes" : "No"]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="90" y="50" width="90" height="20" uuid="36b52f46-6f49-4c75-88d0-27a221bc62ec"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{submittedBy}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="50" width="90" height="20" uuid="2cad93ef-d94f-4479-93e7-7a232023dace"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Submitted By:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="0" y="70" width="90" height="20" uuid="90474202-ce8b-4657-bad1-71edc8557335"/&gt;
                  &lt;text&gt;&lt;![CDATA[Phone:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField&gt;
                  &lt;reportElement x="90" y="70" width="90" height="20" uuid="20d6f136-62e4-4332-9098-3355896ff4af"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{phone}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField pattern="dd/MM/yyyy HH:mm"&gt;
                  &lt;reportElement x="380" y="50" width="174" height="20" uuid="540bcba3-93ee-4877-b5a8-6f58db7c7398"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{submittedAtDateTime}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="280" y="50" width="100" height="20" uuid="957ce926-9636-4625-b91f-78ecd3b8a200"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Submitted At:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement x="280" y="70" width="100" height="20" uuid="d8cf6e8b-9664-4012-b51d-6cdea49faf22"/&gt;
                  &lt;text&gt;&lt;![CDATA[Fax:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField&gt;
                  &lt;reportElement x="380" y="70" width="174" height="20" uuid="cc95ebda-f955-4eaf-9314-45e4a56c4fde"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{fax}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement x="0" y="0" width="554" height="50" uuid="f7c297a9-e14e-44de-8769-5d483cfe4863"/&gt;
                  &lt;textElement textAlignment="Center"&gt;
                      &lt;font size="14" isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA["Consist for " + $F{railOperatorName} + " submitted by " + $F{submitter} + "\nConsist Location: " + $F{consistLocation}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;subreport runToBottom="true"&gt;
                  &lt;reportElement stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="50" y="330" width="130" height="20" uuid="4f470a33-ef93-425d-951e-e53642df7771"/&gt;
                  &lt;dataSourceExpression&gt;&lt;![CDATA[$F{locoReport}]]&gt;&lt;/dataSourceExpression&gt;
                  &lt;subreportExpression&gt;&lt;![CDATA["locoSubreport.jasper"]]&gt;&lt;/subreportExpression&gt;
              &lt;/subreport&gt;
              &lt;textField pattern="#0.00#;(#0.00#-)"&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="460" y="310" width="80" height="20" uuid="f182c7db-f00f-4107-bc33-93b30faf11a9"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{totalLength}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField pattern="#0.00#;(#0.00#-)"&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="280" y="310" width="80" height="20" uuid="c5f34099-ac0e-4634-9398-a96f93c052f6"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{tonnesHauled}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="190" y="330" width="80" height="20" uuid="824478e7-fc00-4d16-8a39-6355baf4bc61"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Tonnes Gross:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="190" y="310" width="80" height="20" uuid="e0bc266a-56f2-4246-bea6-f31c4718046d"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Tonnes Hauled:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;textField pattern="#0.00#;(#0.00#-)"&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="280" y="330" width="80" height="20" uuid="74e9ef61-e6e0-45fa-9966-9950c2f5a1e0"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{tonnesGross}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;textField&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="100" y="310" width="80" height="20" uuid="86833b59-3fe2-4c50-8d8e-18d80e082f75"/&gt;
                  &lt;textFieldExpression&gt;&lt;![CDATA[$F{numberOfVehicles}]]&gt;&lt;/textFieldExpression&gt;
              &lt;/textField&gt;
              &lt;staticText&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="0" y="330" width="40" height="20" uuid="c08f0b3c-0ddf-4cbb-b377-1f48b80fa383"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Locos:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="0" y="310" width="90" height="20" uuid="6a4a5d4b-5762-45d2-b54f-2167af8da5f8"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Number Vehicles:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="1" y="270" width="551" height="35" uuid="53e5c946-8e6d-44fa-8715-f193d224b489"/&gt;
                  &lt;box&gt;
                      &lt;topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                      &lt;leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                      &lt;bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                      &lt;rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/&gt;
                  &lt;/box&gt;
                  &lt;textElement textAlignment="Center"&gt;
                      &lt;font size="18"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Train Summary]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;staticText&gt;
                  &lt;reportElement isPrintRepeatedValues="false" x="370" y="310" width="80" height="20" uuid="31012f66-602d-4892-82f4-d1187915046e"/&gt;
                  &lt;textElement&gt;
                      &lt;font isBold="true"/&gt;
                  &lt;/textElement&gt;
                  &lt;text&gt;&lt;![CDATA[Total Length:]]&gt;&lt;/text&gt;
              &lt;/staticText&gt;
              &lt;subreport runToBottom="true"&gt;
                  &lt;reportElement stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="-20" y="360" width="595" height="20" printWhenGroupChanges="Group1" uuid="8e2dbcb5-3c3f-4bb5-a606-39f6f2e8656a"/&gt;
                  &lt;dataSourceExpression&gt;&lt;![CDATA[$F{vehicleReport}]]&gt;&lt;/dataSourceExpression&gt;
                  &lt;subreportExpression&gt;&lt;![CDATA["vehicleListSubreport.jasper"]]&gt;&lt;/subreportExpression&gt;
              &lt;/subreport&gt;
          &lt;/band&gt;
      &lt;/detail&gt;
      &lt;columnFooter&gt;
          &lt;band height="6" splitType="Stretch"&gt;
              &lt;line&gt;
                  &lt;reportElement positionType="FixRelativeToBottom" x="0" y="0" width="554" height="2" uuid="447d20b2-f65e-42ee-b2a8-69632882c668"/&gt;
                  &lt;graphicElement&gt;
                      &lt;pen lineWidth="0.5" lineColor="#999999"/&gt;
                  &lt;/graphicElement&gt;
              &lt;/line&gt;
          &lt;/band&gt;
      &lt;/columnFooter&gt;
      &lt;pageFooter&gt;
          &lt;band height="25" splitType="Stretch"&gt;
              &lt;frame&gt;
                  &lt;reportElement mode="Opaque" x="-21" y="1" width="597" height="24" forecolor="#D0B48E" backcolor="#F2EBDF" uuid="24b6cb4b-7cad-4abd-a159-cc5cc11896db"/&gt;
                  &lt;textField evaluationTime="Report"&gt;
                      &lt;reportElement style="Column header" x="533" y="0" width="40" height="20" forecolor="#736343" uuid="5463547b-d0a6-440d-baa9-9b1dcce760bf"/&gt;
                      &lt;textElement verticalAlignment="Middle"&gt;
                          &lt;font size="10" isBold="false"/&gt;
                      &lt;/textElement&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[" " + $V{PAGE_NUMBER}]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField&gt;
                      &lt;reportElement style="Column header" x="453" y="0" width="80" height="20" forecolor="#736343" uuid="17310c63-a8e1-4f36-aad6-1b37346d27f6"/&gt;
                      &lt;textElement textAlignment="Right" verticalAlignment="Middle"&gt;
                          &lt;font size="10" isBold="false"/&gt;
                      &lt;/textElement&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
                  &lt;textField pattern="EEEEE dd MMMMM yyyy"&gt;
                      &lt;reportElement style="Column header" x="22" y="1" width="197" height="20" forecolor="#736343" uuid="340aeee4-0582-45c2-9fbf-f1250cba3f8a"/&gt;
                      &lt;textElement verticalAlignment="Middle"&gt;
                          &lt;font size="10" isBold="false"/&gt;
                      &lt;/textElement&gt;
                      &lt;textFieldExpression&gt;&lt;![CDATA[new java.util.Date()]]&gt;&lt;/textFieldExpression&gt;
                  &lt;/textField&gt;
              &lt;/frame&gt;
          &lt;/band&gt;
      &lt;/pageFooter&gt;
      &lt;summary&gt;
          &lt;band splitType="Stretch"/&gt;
      &lt;/summary&gt;
  &lt;/jasperReport&gt;
  </code></pre>
  
  <p>First problem: The crewSubreport has other report elements below it, including the other two sub-reports. If there are multiple records in this sub-report, it renders on top of the elements below it, including the other sub-reports.</p>
  
  <p>Second problem: The data text fields below the crewSubreport are rendering (although with the subreport rendering on top of them), however, the static text boxes with the labels "Train Summary", "Number Vehicles:", "Tonnes Hauled:", "Total Length:", "Locos:", and "Tonnes Gross:" are not rendering, and I not yet able to determine why.</p>
  
  <p>Third problem: Similar to the first problem, the locoSubreport is rendering into the space occupied by the vehicleListSubreport.</p>
  
  <p>How do I fix these issues?</p>
  
  <p>EDIT: Posting the following to illustrate the issues I'm having with the only answer so far:</p>
  
  <p><img src="https://i.stack.imgur.com/8wn5g.png" alt="enter image description here"></p>
  
  <p>In the memory usage and CPU usage graphs, the small peaks on the left are me running the report I designed. The rest of the graph after that is what happens when I run the report designed in the answer. It continues like this until the garbage collector seems to give up and kills the thread. Generating this report is the only thing the program is doing at this time. Using the VisualVM to force the JVM to perform a full garbage collection does not reclaim any memory. It would appear to me that there is a problem in Jasper Reports when using positionType="Float", and I need a solution that does not trigger this problem.</p>