开发者

How can i combine crystal reports and JAVA SWT?

开发者 https://www.devze.com 2022-12-27 22:40 出处:网络
I have to create reports from my application (java, SWT). For reports, I am using crystal reports, but I have a problem, I can\'t find SWT code that enables me to open (create)and save the report开发者

I have to create reports from my application (java, SWT). For reports, I am using crystal reports, but I have a problem, I can't find SWT code that enables me to open (create) and save the report开发者_开发问答. I have found Swing code that enables me to do that, but I can't find SWT code. So can somebody explain me, or give me a code, or tutorial that will help me to do that. Tnx.


You could try embedding the crystal reports swing components inside your swt application using org.eclipse.swt.awt.SWT_AWT. For more information on how that class can be used check out this article.


We just implemented an SWT viewer in SWT, but this was only possible by writing a custom ActiveX component, that wraps the Crystal Reports ActiveX control.

The ActiveX of crystal in not usable by SWT directly. If you are interested, we could offer some commercial implementation help.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号