在其他应用程序中嵌入应用程序 [英] Embedding an application inside another application

查看:119
本文介绍了在其他应用程序中嵌入应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我相信你们中有些人注意到如果你有Acrobat Reader(或任何其他pdf查看器),并在Firefox中打开pdf,你会看到它嵌入你的标签中。有没有办法在JFrame中嵌入一个应用程序?

I'm sure some of you noticed that if you have Acrobat Reader ( or any other pdf viewer ) , and open a pdf in Firefox , you will see it embedded inside your tab . Is there any way to embed an application in a JFrame ?

推荐答案

这是一个相当棘手的问题。通常,本机应用程序和Adobe Reader不提供可以嵌入到swing应用程序中的组件。但是在Windows中有COM / OLE方法,它允许将应用程序嵌入到一起。 文章可以为您提供帮助。它指向允许这种嵌入的两个项目JCOM和JACOB。

This is a rather tricky. In general, native application such and Adobe Reader does not provide component which can be embedded into swing application. But in Windows there is COM/OLE approach which allows embedding of application together. This article can help you. It points on two project JCOM and JACOB which allows such embedding.

这篇关于在其他应用程序中嵌入应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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