Jump to content
We've recently updated our Privacy Statement, available here ×

brianecntelecoms.com

Members
  • Posts

    8
  • Joined

  • Last visited

brianecntelecoms.com's Achievements

Apprentice

Apprentice (3/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. That sounds like a great idea but where would you do this in iReport. I tried to do it on the color selection but once i click elsewhere it just goes white
  2. Hi all I need to have the ability to modify the colors of my report. currently I am modifying the colors compiling it and then executing the .jasper file report with the specified colors, as you can imagine this is not ideal as the list of .jasper files is growing and all that is different is the colors of the text/lines etc. is there a way that I can modify the colors in a java program using the jasperReport or JRBaseFiller Objects for example. Or do i have to do it the hard way modify the .jrxml file compile it in my java code and then execute the report. I know the .jrxml file contains the information I need to change eg. forecolor="#000000 backcolor="#FFFFFF" key="staticText-279" surly there must be a way that i can modify these properties after the file has been complied using java. If not. how would you suggest I modify the .jrxml file safely in the code any help would really be appreciated Regards Brian Post Edited by Brian Johnson at 02/26/09 11:42
  3. but i have included commons-digester-1.7.jar obviously your version is older but I'm running iReport 2.0.4 please elaborate thanks
  4. Hi All When I try open a file in iReport nothing happens but I get the following error. Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at it.businesslogic.ireport.gui.JReportFrame.<init>(JReportFrame.java:442) at it.businesslogic.ireport.gui.MainFrame.openNewReportWindow(MainFrame.java:7758) at it.businesslogic.ireport.gui.MainFrame.openFile(MainFrame.java:5394) at it.businesslogic.ireport.gui.MainFrame.open(MainFrame.java:7239) at it.businesslogic.ireport.gui.MainFrame.jMenuItemOpenActionPerformed(MainFrame.java:7193) at it.businesslogic.ireport.gui.MainFrame.access$8200(MainFrame.java:101) at it.businesslogic.ireport.gui.MainFrame$83.actionPerformed(MainFrame.java:2781) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1216) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1257) at java.awt.Component.processMouseEvent(Component.java:6038) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5803) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916) at java.awt.Container.dispatchEventImpl(Container.java:2102) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) I thought it was because the jars where not in the class path. so I added the following jars to the iReport class path commons-beanutils.jar commons-collections-2.1.jar commons-digester-1.7.jar commons-logging-1.0.2.jar jasperreports-2.0.4.jar poi-3.0.1-FINAL-20070705.jar unfortunately I'm still getting the same error does anyone have any idea about what may be causing this problem thanks A lot
  5. Hi All I am generating graphs and all is well on the JRViewer. Once I save it as a pdf my Graphs come out fine but there is a red dusty foreground. I cant get rid of this no matter what I do any suggestions Thanks all Brian [file name=test-d01b76478407822e4dab05463893aee4.pdf size=89510] Post edited by: brian@ecntelecoms.com, at: 2008/03/07 14:42
  6. Hi all I was just wondering if there is any way that we can return variables from Jasperreports to java Thanks brian
  7. I hear you 100% I have exactly the same problem that you have just mentioned, Please please folks a little help here this is a huge problem for me.
  8. Hi all I am able to add dates to my column group in a crosstab. and am able to get the result that I am interested for any particular day. The only problem is I would like to display all the dates even the days that have no data. currently any day that has no data is left out of the column.Is it possible to add this day even though there is no data? if it is how will I get it to display 0. thanks in advance Brian
×
×
  • Create New...