在Java中使用.OCX控件 [英] Use a .OCX Control in Java

查看:277
本文介绍了在Java中使用.OCX控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用Java中的ocx控件(VB6)?

IS there a way to use a ocx control ( VB6) from Java?

推荐答案

以下是Java/COM桥的一些链接.

Here are some links of Java/COM bridges.

http://sourceforge.net/projects/jacob-project/
http://javacombridge.com/
http://sourceforge.net/projects/j-interop/
http://java2com.com/ http://j-integra.intrinsyc.com/

http://sourceforge.net/projects/jacob-project/
http://javacombridge.com/
http://sourceforge.net/projects/j-interop/
http://java2com.com/ http://j-integra.intrinsyc.com/

最后一个使用它们的桥有很多示例,如果您打算自己动手,您也许可以使用他们的产品或获得有关如何做Java零件的想法.

The last one has a lot of samples using their bridge, you might be able to either use their product or get ideas on how to do the Java part if you are going to roll your own.

您还可以使用JNI来包装自己的文件.

You can also wrap your own using JNI.

这篇关于在Java中使用.OCX控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆