郁闷 不过你说的竖线拉伸的问题应该可以解决,因为图形组件都有一个stretchType属性,可以通过设置让它能够随着其他组件的变化而变化。具体如下:(选自TheJasperReportsUltimateGuide.1.0.pdf)The stretchType attribute of a graphic element can be used to customize the stretch behavior of theelement when on the same report section there are text fields that stretch themselves because their textcontent is too large to fit in the original text field height.When stretchable text fields are present on a report section, the height of the report section itself will be affected be stretch.
A graphic element can respond to the modification of the report section layout in three ways:
 Won't stretch: The graphic element preserves its original specified height
(strechType="NoStretch").
 Stretching relative to the parent band height: The graphic element will adapt its height to matchthe new height of the report section it placed on, which has been affected by stretch(stretchType="RelativeToBandHeight").
 Stretching relative to the tallest element in group: You have the possibility to group the elementsof a report section in multiple imbricate groups, if you like. The only reason you might have forgrouping your report elements is to be able to customize their stretch behavior. Details about how to group elements are supplied in the section 8.4 Element Groups that willfollow. Graphicelements can be made to automatically adapt their height to fit the amount of stretch suffered bythe tallest element in the group that they are part of (stretchType="RelativeToTallestObject").