I have a requirement to have a border that will encapsulate all the details + the column header in a report made in JasperReports + iReport. But if I try to draw a rect or a
Using a background band with a Frame or Rectangle seems to work best, although, if the first and subsequent pages have different Header Elements, sizing the Frame/Rectangle can be a bit tricky.
One way round this is to add a Frame/Rectangle on the any Title, Header and Footer bands, which is Opaque/White and sent to the Back. This will obscure the Background Image.
This means that it will just be show through for the Detail Band, so the Header and Footer Frame may need a bottom/top border depending on what you want.
(I found that the problem with using a Frame in the Detail band with just side borders doesn't quite work as sometime the repeated detail band does not fill each page, so gaps are left in the borders at the sides)