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

abbasl7

Members
  • Posts

    5
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by abbasl7

  1. No, we've not added components. We process custom properties for parameters, text fields within our application. So, we went ahead and created a new toolbar with options to open new frames where we provide interface to create new parameters. We also have our own sql designer to meet our requirements, an interface to create report layout (placing text fields in column bands, another interface to validate the jrxml as per our application requirements. We also intend to connect to a database and load jrxml from a database and work on it directly, via a temporary file. But we couldn't do it, as we don't know how to programmatically open a new jrxml in iReport. Any help in that area is apreciated. I think we'll hold on our intention to switch to Eclipse for a while. Is there any location to know more about the iReport platform or some documentation or any active community to discuss?
  2. For iReport we could develop plugins using Netbeans platform. Can we port an already developed iReport Plugin to JasperSoft Sudio? Or is there any way to minimize effort in doing so? Do we have any instructions on how to get started with plugin development for JasperSoft Studio?
  3. Hi, We've been developing an iReport Plugin to meet our requirements. We have made very good progress so far. Now, we also need a way to secondary Open action. We'd like to open reports by connecting to a Database and load JRXML content from table. I'm interested to do it in some in-memory way without any local file, if possible. If not, I can save a copy to a local directory and load from there. To start with this, I did spend a lot of time looking for right location to seek guidance, but couldn't find a better one so far. Based on what I could gather so far, I tried doing this on a button click: File file=new File("D:/temp.jrxml"); new JrxmlLoader().reloadJasperDesign(new FileInputStream(file)); As I expected, it errored. Error Log: java.lang.IllegalStateException: You are trying to load a jrxml file from an event thread. Don't do that.at com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:82)at com.ul.myapp.reportassistant.components.MyAppToolbar.jButton1ActionPerformed(MyAppToolbar.java:826)at com.ul.myapp.reportassistant.components.MyAppToolbar.access$2000(MyAppToolbar.java:69)at com.ul.myapp.reportassistant.components.MyAppToolbar$15.actionPerformed(MyAppToolbar.java:490)at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)at java.awt.Component.processMouseEvent(Component.java:6505)at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)at java.awt.Component.processEvent(Component.java:6270)at java.awt.Container.processEvent(Container.java:2229)at java.awt.Component.dispatchEventImpl(Component.java:4861)at java.awt.Container.dispatchEventImpl(Container.java:2287)at java.awt.Component.dispatchEvent(Component.java:4687)at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)at java.awt.Container.dispatchEventImpl(Container.java:2273)at java.awt.Window.dispatchEventImpl(Window.java:2719)at java.awt.Component.dispatchEvent(Component.java:4687)at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)at java.awt.EventQueue.access$200(EventQueue.java:103)at java.awt.EventQueue$3.run(EventQueue.java:694)at java.awt.EventQueue$3.run(EventQueue.java:692)at java.security.AccessController.doPrivileged(Native Method)at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)at java.awt.EventQueue$4.run(EventQueue.java:708)at java.awt.EventQueue$4.run(EventQueue.java:706)at java.security.AccessController.doPrivileged(Native Method)at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Can someone help me the best way to do this?Also, if there is a specific location where I can discuss problems related to iReport Plugin Development problems (Not those for generic Netbeans Plugin Development), please do let me know. Thanks!
×
×
  • Create New...