Jump to content
Changes to the Jaspersoft community edition download ×

JasperViewer.setIconImage() Help

Recommended Posts

By: Carey Gibson - trillian11

JasperViewer.setIconImage() Help

2003-06-19 10:12

Hi there,

I'm trying to customize the look of the JasperViewer for my application - how does one successfully do the following?





I've tried this, but it's still showing the Java cup and 'Jasper Viewer':

jp = JasperFillManager.fillReport(reportStream, params, obs);

JasperViewer viewer = new JasperViewer(jp,false);


viewer.setTitle("Report Writer");

viewer.viewReport(jp, false);


Thanks much,






By: Teodor Danciu - teodord

RE: JasperViewer.setIconImage() Help

2003-07-07 13:09




Do not call the viewReport() method on the viewer

instance because this is a static method that will

iternally create and use its own instance of the viewer.


After setting up the title and the icon just call

show() on your viewer.


I hope this helps.


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...