Jump to content

JRViewer generates blank detail section in XP


brad103

Recommended Posts

Hi all

I'm new to JR and looks real good so far. One strange rendering problem, however, when moving my Swing app from Mac to XP.

It is a Swing application, rendering the report with JRViewer.

The report has content in title, column header, detail, page footer sections. These render fine on the Mac.

When run on XP though, only the title and page footer show- column header and detail section are empty. I know it's picking up data in the query, as it's the same db as accessing on the mac, plus when I enter an invalid date param, it tells me there are no pages.

The other way I know the data's coming in fine is through the logging:

10-04-24 17:54:53,126 [WT-EventQueue-0] DEBUG ports.engine.fill.JRBaseFiller  - Fill 589111838: adding page 1
2010-04-24 17:54:53,126 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: title
2010-04-24 17:54:53,171 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: page header
2010-04-24 17:54:53,171 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: column header
2010-04-24 17:54:53,179 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: detail
2010-04-24 17:54:53,194 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: detail
2010-04-24 17:54:53,200 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: detail
2010-04-24 17:54:53,205 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: detail
2010-04-24 17:54:53,215 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: detail
2010-04-24 17:54:53,219 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: detail
2010-04-24 17:54:53,223 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: detail
2010-04-24 17:54:53,226 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: summary
2010-04-24 17:54:53,226 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: column footer
2010-04-24 17:54:53,227 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller  - Fill 589111838: page footer
2010-04-24 17:54:53,239 [WT-EventQueue-0] DEBUG ports.engine.fill.JRBaseFiller  - Fill 589111838: ended

If I export the result to excel, it also has no detail or headers. It exports fine on Mac.

In case it was a font difference between the systems, I tried adding the JR fonts jar to the classpath, plus resized detail and header sections much bigger, to no avail.

I'm at a loss

Many thanks in advance!

Brad

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Well, thanks to me

 

I was close before with resizing to handle a font difference. I however needed to resize the *field* as well as the section, and now they display fine.

 

Write once, run everywhere... one day

 

:)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...