brad103 Posted April 24, 2010 Share Posted April 24, 2010 Hi allI'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 12010-04-24 17:54:53,126 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: title2010-04-24 17:54:53,171 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: page header2010-04-24 17:54:53,171 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: column header2010-04-24 17:54:53,179 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: detail2010-04-24 17:54:53,194 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: detail2010-04-24 17:54:53,200 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: detail2010-04-24 17:54:53,205 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: detail2010-04-24 17:54:53,215 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: detail2010-04-24 17:54:53,219 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: detail2010-04-24 17:54:53,223 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: detail2010-04-24 17:54:53,226 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: summary2010-04-24 17:54:53,226 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: column footer2010-04-24 17:54:53,227 [WT-EventQueue-0] DEBUG s.engine.fill.JRVerticalFiller - Fill 589111838: page footer2010-04-24 17:54:53,239 [WT-EventQueue-0] DEBUG ports.engine.fill.JRBaseFiller - Fill 589111838: endedIf 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 lossMany thanks in advance!Brad Link to comment Share on other sites More sharing options...
brad103 Posted April 24, 2010 Author Share Posted April 24, 2010 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now