Integrating crystal report with swing application
Hi,
Any body knows how to integrate crystal reports with swings?
I'm posting this after a painful search in the net/forum.Any idea
will be greatly apprecited.
thanx.
regards,
jmos
The best place to pick up sample code is straight from the horses mouth. [url http://www.businessobjects.com/products/dev_zone/java/default.asp?ref=devzone_main] Crystal java zone
Similar Messages
-
How to Call Crystal Reports from Swing Application
Hi All,
I have a requirement for calling Crystal Report from Swing Application. Please let me know how can I do that, and also provide the Source code for calling the crystal report.
Thanks in advance.
Chandrahi
this is the code that i am using in my application which is similar to urs. but i am working with CR XI so make all the neccessary changes.
import java.awt.*;
import javax.swing.*;
import com.crystaldecisions.ReportViewer.*;
import com.crystaldecisions.reports.sdk.*;
import com.crystaldecisions.sdk.occa.report.reportsource.*;
public class HelloSwing
public static void createAndShowGUI()
try
//Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
//Create and set up the window.
JFrame frame = new JFrame("HelloWorldSwing");
frame.setTitle( "Testing Reports");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
ReportViewerBean viewer = new ReportViewerBean();
viewer.init( new String[0], null, null, null);
ReportClientDocument rpt = new ReportClientDocument();
rpt.open( "report path", 1 );
IReportSource rptSource = rpt.getReportSource();
viewer.setReportSource( rptSource );
frame.getContentPane().add( viewer, BorderLayout.CENTER );
frame.setSize( 700, 500 );
frame.setVisible(true);
viewer.start();
catch ( Exception exception )
System.out.println( exception.toString() );
public static void main(String[] args)
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
there are 23 jar files that u need to import into ur package. but remember that ReportViewerBean should be the first jar file in the list & it should be followed by jrcerom.jar
specify the key in the CRConfig.xml file (which also has to be imported in the package)
u can find these jar files in the common objects folder in your program files.
hope it helps. best of luck -
Getting Error while integrating Crystal reports with Java
Hi All,
I am getting below error while integrating crystal report with java
[java] os.arch = x86
[java] java.lang.NoSuchMethodError: com.crystaldecisions.Utilities.d.<init>
(Ljava/awt/Image;I)V
[java] at com.crystaldecisions.Utilities.af.try(Unknown Source)
[java] at com.crystaldecisions.Utilities.af.a(Unknown Source)
[java] at com.crystaldecisions.Utilities.af.<init>(Unknown Source)
[java] at com.businessobjects.crystalreports.viewer.applet.g.a(Unknown
Source)
[java] at com.crystaldecisions.ReportViewer.ReportViewer.start(Unknown
Source)
[java] at ReportViewerFrame.<init>(ReportViewerFrame.java:51)
[java] at JRCViewReport.launchApplication(JRCViewReport.java:29)
[java] at JRCViewReport$1.run(JRCViewReport.java:50)
[java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
178)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
spatchThread.java:190)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
atchThread.java:144)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:138)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
ava:130)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Any help can be appreciated
KalyanHi All,
For got to mention i am using crystal reports XI release 2 with JDK1.4.
Kalyan -
Integrating crystal report with java
Hi
Any one can send me sample program for integrating Crystal report with java.I dont know how to integrate java with cryatal report.if any one helps me out from this problem an advance thanks to them
Thanks
DilipHi All,
For got to mention i am using crystal reports XI release 2 with JDK1.4.
Kalyan -
Integrating Crystal Report with JSP
Could any one send me a sample code how to integrate crystal Report
with JSP. If so it will be a grade help for my project work.
Thanks RasikaThe best place to pick up sample code is straight from the horses mouth. [url http://www.businessobjects.com/products/dev_zone/java/default.asp?ref=devzone_main] Crystal java zone
-
How to link crystal report with swing
I am developing applications in swing. I have done a report using crystal report.
Now i don't know how to link it with swing. can anyone help me to solve this with some examles.
thanx in advanzHope these links are useful:
http://www.must.de/default.html?Jareport.htm
http://www.utdallas.edu/~pxm034000/files/integrating.html -
Integrating Crystal reports with xcelsius
We are trying to generate few reports using Crystal reports application. There are 7 different requirements in total and we want to show a summary of all the requirements in a single report. Since the qualifications for each of the requirement are different, we are unable to proceed with reports.
Trying to give the summary for all requirements using Crystal Xcelsius dashboard charts and tables, and embed this into a report to provide hyper links to individual subreports, but found few issues while integrating these two applications:
1. If the swf file is bound to crystal reports data, after exporting the rpt file into pdf, the swf charts are not getting displayed.
2. If a range of data for a chart in xcelsius is selected, the same range of data need to be passed from crystal reports for the chart to be generated. If data is more, sum rows are truncated.
How do we solve the issues? Is there an alternative way of achieving the results?
Can someone please share your thoughts on this?
ThanksPost your question to the Xcelsius forum
-
Integrating Crystal reports with Java Portal (test=pluto,Prod=Vignette
Hi,
Crystal reports is new to me...so please don't mind if i sound outright silly, and would love a shove in the correct direction.
This question might have been asked here (I tried searching for this.)
Problem: We have some old CR9 reports with us which we want to migrate to our Portal installation Vignette Portal.
I have seen some Portal integration kits but after having a look at them it seems it is ir-relevant to us...as it requires some server running...we don't have that.Update:
After more investigation, it looks as if the BO Server "CrystalReports2013ReportApplicationServer"
from time to time has an issue - not only when promoting, but also when viewing publications that contain Crystal Report documents or when executing them, the java class error or similar issue is thrown.
Did sb face similar behaviour and knows what is the root cause for "CrystalReports2013ReportApplicationServer" not working probably and throwing the java-class error? - it was running fine for several months, now, the class error showed up twice in one month.
We need to find out what is causing the issue (aleady checked tomcat and BO-logfiles...).
Best Regards
Florian -
Integration crystal report with ecc
hi experts
i am not similar to crystal report,i wanna know if we can develop the crystal report in ECC directly,i find some forums all about bi,crystal report just can integrate with BI?
also i need some detail documents ,please help me,thanx all
best regards
zlfDo not cross post.
Read the "Rules of Engagement"
Regards
Juan -
Integrating Crystal Reports with Ruby on Rails
Hello:
I am looking to integrate Crystal Reports into my ROR application. I have been following this weblog for guidance - http://kkarthik.wordpress.com/ - but cannot seem to find any more resources for this on the web. Does this seem like the best method for doing so, and if not, what would be? Also, I am unable to locate all of the required JAR files for this process. Are these included in the download of either Crystal Reports 2008 or Crystal Reports Server 2008? I have these downloaded and still cannot locate the files. Thank you in advance for the support!The jar files etc. are available as part of Crystal Reports For Eclipse (CR4E). Don't think they're included as part of Crystal Reports 2008.
The approach in the blog you linked to is fairly straightforward. As long as you're using JRuby you should allow you to make calls to the Java reporting API. The example in the blog looks fairly limited, it just produces a pdf from a report file, XML schema and data file.
Making use of the viewer functionality that's part of CR4E will be a bit trickier as it looks like this needs to make calls to a servlet.
Good luck!
Tom. -
Integrating Crystal Reports with ECC 6.0 - Tuning Guide
Hello,
Do you know if there is a document out there that describes what we can do to pinpoint performance issues with CR integrated with SAP ECC?
There is a WebI Performance Tuning document from WebI to SAP BW. It explains how to capture very detailed end-to-end analysis times of a single query. We are looking for something similar for CR to ECC.
Any help would be greatly appreciated.
Thank you very much,
ScottI am not aare of such a document. But I ould recommend the usage of InfoSets.
Regards,
Stratos -
Integrating Crystal Report 2008 Developer with Visual Studio 2008 Standard
I have Crystal Reports 2008 Developer version 12.0.0.683 on my computer. I also have Visual Studio 2008 Standard. I know the standard edition of VS 2008 does not have the bundled crystal reports, but since I bought the full version of CR 2008 separately, I figure I should be able to use CR within VS 2008. The problem I am facing is integrating Crystal Reports with Visual Studio, so I can create reports from within visual studio.
Crystal Reports was installed first and then Visual Studio. As per suggestions on this and other forums, I repaired my installation of Crystal Reports, but that did not help. I then ran Visual Studio integration manager, but when I run it, it only detects Visual Studio as the currently installed IDE, but does not detect CR 2008. I downloaded service pack 2 for CR, but have not installed it yet. I do not want to install it if it is not going to help. I would also like to avoid uninstalling my copy of CR if at all possible.
I am a newbie at development in visual studio. Any help will be highly appreciated.
Thanks,
RajibDon't want to go against what Jason said as it may be correct - if we go strictly by the documentation provided (sorry Jason, Dan says...). However, here is something to try;
Uninstall CR. Look for any left overs; c:\program files\business objects\... and delete all of that.
Look in the registry for HKLM\software\business objects and remove the business objects entry.
Download CR 2008 from here:
http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
That is a trial version and I believe it is already at SP 1. Use your keycode to install. Once this is done, you should have the ability to use CR in .NET. I'd recommend you do apply sp 2 now also.
Ludek
Follow us on Twitter
http://twitter.com/SAPCRNetSup -
Can anyone let me know how to integrate crystal reports with bi 7?
HI all,
Can anyone pls let me know the steps involved in integrating crystal reports with bi 7?
thanks
Pooja1.install BO client tools
2. install crystal reports
3.install sap integration kit
once you install in above sequence you will be able to pull data from BW system. -
Using Report tool with Swing Application
I'd like to use a reporting tool (Crystal Reports or anything else) with Swing application. Could anyone help me?
You have to pass the values are parameters to the Oracle Reports report. Take a look at this: http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
Also you can search this forum for "Oracle Reports"
Mike -
How to generate crystal report in sap application
hi,,
i want to generate crystal report through sap application...
How is it possible ....?
could you help me in details?
Plz help me???????????STEP 1: Like any other add-on project, refer SBO UI and DI COM to your project. Initialize SBO APPLICATION object and SBO COMPANY object and listen to events. (This is standard add-on project steps)
STEP 2: Add a Dataset to the project. This is used as a data source to your Crystal Reports. (For more information on this search for Push Technique Crystal Reports)
STEP 3: Add a Windows Form to your Project.
STEP 4: Add a Crystal Report Control to it.
STEP 5: Design report based on dataset added above.
STEP 6: Launch this Form with required parameters and selection criteria when any even happens.
Remember there is lot stuff available on net if you search with PUSH TECHNIQUE CRYSTAL REPORT. SAP SDN has lot answers for adding Crystal Reports integration to SAP Business One Add-On.
HTH
B Ravi Shankar
Maybe you are looking for
-
Where can I find a good pool manager? or ...
I need a pool manager or I must make it myself? which is the different between DataSource and ConnectionPoolDataSource? if I use ConnectionPoolDataSource to make database connection then if pool manager are needed? if need ,how to make it?Where can I
-
Media out or not loaded correctly when attempting to print since iOS 7 upgrade?
Since ios7 upgrade my mini gives me "media out or not loaded correctly" when attempting tp print to Epson r2400. Apple support directed me through a new setup. It worked for a few days and on it's own reverted back to the original problem.
-
Zen V Plus "Cannot Install this Hardware - A service installation section in the INF is inva
I hate to play the "poor helpless female" , but at age 65 that's exactly what I am . I've had my player for 2 /2 weeks, and yesterday I re-charged my battery for the first time. Ever since then, my player cannot be recognized by my computer. I've uns
-
No audio when importing AVCHD into FCP X? Simple solution.
After hours of trial and error and several phone calls to support, I figured out why my AVCHD footage (MTS files from a Canon vixia HF S100) had no audio when importing into FCPX. The solution was to simply uncheck the box - "Remove silent channels
-
Computer is messing up on extensions.
When opening a certain file after downloading, quicktime opens. The file I want to open has NOTHING to do with Quicktime. I tried deleting those certain files off my cache but it didn't seem to work. Any other suggestions?