首页 | 本学科首页   官方微博 | 高级检索  
     

基于JNI的ActiveX控件的应用
引用本文:房好帅,孔令德.基于JNI的ActiveX控件的应用[J].电脑开发与应用,2008,21(1):54-56.
作者姓名:房好帅  孔令德
作者单位:1. 中北大学,太原,030051
2. 太原工业学院,太原,030008
摘    要:ActiveX控件为Windows平台下的一种构件模型,具有良好的封装性和复用性。探讨了ActiveX控件在Java程序中的应用,通过JNI技术作为桥梁,以同位体的方法实现了GUI界面管理,通过JNI本地化方法实现了ActiveX控件方法调用与属性设置,以及使用代理模式实现应用Java代码来处理ActiveX控件的事件。经实际项目验证,所提出的方法可行且具有借鉴意义。

关 键 词:ActiveX控件  JNI  同位体  GUI  代理模式
文章编号:1003-5850(2008)01-0054-03
修稿时间:2007年9月24日

Application of ActiveX Control based on JNI
Fang Haoshuai.Application of ActiveX Control based on JNI[J].Computer Development & Applications,2008,21(1):54-56.
Authors:Fang Haoshuai
Abstract:ActiveX Control is a kind of component models on the platform of Windows,it has well encapsulation and reuse.This paper describes the application of ActiveX Control in Java programming,using JNI as bridge,implementing management of GUI via peer,invoking the methods and setting properties of ActiveX Control by JNI native methods,moreover,emply the proxy pattern,dealing with ActiveX Control events can using Java code.Confirmed by actual projects,the methods brought forward are feasible and have significance reference.
Keywords:ActiveX control  JNI  peer  GUI  proxy pattern
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号