JDIC consists of a collection of Java packages (JDIC API), all with the package name prefix org.jdesktop.jdic
, and a JNLP application packaging tool (JDIC Packager).
-
JDIC API is composed of below Java packages:
org.jdesktop.jdic.desktop
: APIs to automate native applications, including the document viewer applications associated with a particular file type, the system browser and the system mailer.
org.jdesktop.jdic.filetypes
: APIs to associate document viewer applications with filetypes.
org.jdesktop.jdic.browser
: Provides an AWT component to enable the embedding of the desktop's web browsing component,which only Mozilla and IE be supported at present, into Java applications and applets. The APIs support URL navigation, a basic history mechanism and progress notification.
org.jdesktop.jdic.tray
: APIs to to create tray icons on the desktop (in the System Tray Area for Windows platforms, and in the Notification Area for Unix platforms). A tray icon can have a caption (text), an icon, and a menu associated with it. It can also have a tool tip that is displayed when the mouse hovers over the tray icon. To get animation in the notification tray, use an animated GIF for the icon. Tray menus are Swing menus, which enables them to contain icons (unlike Windows and Gnome tray menus) and have either a cross-platform look and feel or the system look and feel.
-
JDIC Packager is a tool for putting JNLP applications into installable packages of the standard Windows, Linux, and Solaris formats — MSI, RPM and PKG, respectively.
JDIC API:
- Supported platforms
- WinME/NT/2000/XP/2003, Sun Java Desktop System (JDS) Release 1 or later, SuSE Linux 7.1 or later, RedHat Linux 8 or later, Solaris 8 or later (package
org.jdesktop.jdic.tray requires
Solaris JDS 3).
- Additional software
- Windows: Internet Explorer 5 or later, or Mozilla 1.4 or later.
- Linux/Solaris: Gnome 2.0, Ximian Evolution 1.4 or later, Mozilla 1.4 or later.
- J2SE v1.4.2 or later.
JDIC Packager:
- Supported platforms
- WinME/NT/2000/XP/2003, Sun Java Desktop System (JDS) Release 1 or later, SuSE Linux 7.1 or later, RedHat Linux 8 or later, Solaris 8 or later.
- Additional software
To run the downloadable or built JDIC binaries, following below installation instructions(only Mozilla and IE be supported at present):
JDIC API:
- Add
jdic.jar
to CLASSPATH
.
-
Note: With earlier releases, on Windows, Browser component copies the bundled
MozEmbed.exe
file to the Mozilla binary path to work. Since 0.8.8, that file is not copied. While using the Browser component, BE SURE to remove the MozEmbed.exe
file if it locates at the Mozilla binary path.
- Below steps are ONLY necessary if the native library or executable files locate at a different location from jdic.jar. If a JDIC release (
jdic-<version>-bin-<os>.zip
) is unzipped, these files locate at the same location as jdic.jar
and so below steps are unnecessary:
- Add the path of native library files .dll to
PATH
(for Windows), or .so to LD_LIBRARY_PATH
(for Linux/Unix).
- Add the path of native executable files .exe (for Windows) or
mozembed-<os>-gtk*
(for Linux/Unix) to PATH
.
Notes for earlier JDIC releases:
- for JDIC release 0.8.6.*, additional setting to use package
org.jdesktop.jdic.tray:
- Set the environment variable
JAVA_HOME
to the J2SDK/J2RE installation path.
- for JDIC release 0.8.5 or later, additional setting to use package
org.jdesktop.jdic.browser:
- On Windows, set the environment variable
JAVA_HOME
to the J2SDK/J2RE installation path.
- for JDIC release 0.8.4.*, additional settings to use package
org.jdesktop.jdic.browser:
-
Windows
- Add <J2SDK HOME>/jre/bin
or <J2RE HOME>/bin
to PATH
.
- Add the path of native executable files (*.exe) to PATH
.
- The system default browser (Mozilla or Internet Explorer) is embedded. If Mozilla is the embedded browser:
* Set the environment variable MOZILLA_FIVE_HOME
to the absolute path of the Mozilla 1.4 (or later) executable file.
* Copy MozEmbed.exe
file to the MOZILLA_FIVE_HOME
directory.
* Add MOZILLA_FIVE_HOME
to PATH.
-
Linux/Solaris
- Add the path of native executable files (mozembed-linux-gtk*
or mozembed-solaris-gtk*
) to PATH
.
- Set the environment variable MOZILLA_FIVE_HOME
to the absolute path of the Mozilla 1.4 (or later) executable file.
- Add MOZILLA_FIVE_HOME
to LD_LIBRARY_PATH
.
JDIC Packager:
- Add
packager.jar
to CLASSPATH
.
- Add native library (*.dll) path to
PATH
(for Windows).
- J2SDK/J2RE version 1.5 or later is required to be installed. Make sure
java
command is under PATH, or set JDIC_PACKAGER_JAVAHOME
to the home directory of J2SDK/J2RE to override the PATH setting.
- Add
deploy.jar
and javaws.jar
in J2SDK/J2RE 1.5 or later to CLASSPATH. For J2SDK, the path is <J2SDK HOME>/jre/lib
; For J2RE, it's <J2RE HOME>/lib
.
- Run the command line tool
jnlp2msi
(for Windows), jnlp2rpm
(for Linux), or jnlp2pkg
(for Solaris).
分享到:
相关推荐
The JDesktop Integration Components (JDIC) 有人提出分数太高,但是我无法修改分数,可以给大家提供别人的下载地址,希望能对你们有帮助 http://download.csdn.net/source/499302
Java的GUI内嵌浏览器JDIC(JDesktop Integration Components)所需要的jar包以及dll文件,包括 jdic.jar、 jdic.dll 、tray.all 、IeEmbed.exe
JDIC,全称为JDesktop Integration Components,是一款专为Java开发者设计的开源库,它提供了丰富的功能,使得Java应用程序能够更好地与桌面环境集成。这个库由Sun Microsystems开发,并且在后来的Oracle时代继续...
《JDesktop+Integration+Components.pdf》是一份详尽介绍了JDIC(JDesktop Integration Components)项目的文档,旨在为Java开发者提供一种方法,使他们能够更好地融合Java应用程序与本机操作系统的特性,从而提升...
import org.jdesktop.jdic.browser.WebBrowser; import org.jdesktop.jdic.browser.WebBrowserEvent;
java webbrower,JDIC开发...JDIC 全程是 JDesktop Integration Components 目的是构建消除本机应用程序和 Java 等价物之间差距的组件。JDIC 单一的 Java API 允许应用程序接进本机操作系统特性,同时保持跨平台支持。
JDIC 全程是 JDesktop Integration Components,是构建消除本机应用程序和 Java 等价物之间差距的组件。JDIC 单一的 Java API 允许应用程序接进本机操作系统特性,同时保持跨平台支持。
Java开发浏览器时,JDIC(Java Desktop Integration Components)是一个非常重要的工具包,它为Java应用程序提供了与本地桌面环境集成的能力,特别是与Web浏览器交互的功能。本文将深入介绍JDIC的相关知识点,帮助...
JDIC(JDesktop Integration Components)是一个开源项目,旨在帮助Java开发者在桌面应用程序中集成本地操作系统特性,从而使得Java应用能够更接近本机应用程序的用户体验。该项目由一系列组件组成,允许开发者利用...
本文将为您详细介绍如何使用 JAVA 实现网页浏览器,使用 JDIC(JDesktop Integration Components)组件来嵌入网页浏览器。 标题:利用 JAVA 实现网页浏览器的方法 描述:JAVA 实现网页浏览器 标签:JAVA 实现网页...
本项目利用了JDIC(Java Desktop Integration Components)库,这是一个用于增强Java应用程序与桌面环境集成的开源库,特别适合于创建具有系统托盘功能和屏幕截图能力的浏览器。 JDIC库提供了对操作系统原生功能的...
import org.jdesktop.jdic.tray.SystemTray; import org.jdesktop.jdic.tray.TrayIcon; spark_pluginx_linux
tray 64位上传文件,用于jdic中的dll库,JDIC 全程是 JDesktop Integration Components 目的是构建消除本机应用程序和 Java 等价物之间差距的组件。JDIC 单一的 Java API 允许应用程序接进本机操作系统特性,同时...
标题中的"jdic.jar"是一个Java的库文件,它的全称可能是Java Dictionary Kit,这是一个用于Java应用程序的字典和词汇管理工具。这个库文件通常包含了处理文本、词汇、翻译等功能的类和方法,可能适用于自然语言处理...
- **开源项目与集成组件**:Sun Microsystems推出了JDNC(Java Desktop Networking Components)和JDIC(JDesktop Integration Components)两个开源项目。这些项目旨在为跨平台Java应用提供无缝的桌面集成解决方案...
JDIC(JDesktop Integration Components)是一个开源的项目,目的是构建消除本机应用程序和 Java 等价物之间差距的组件。JDIC单一的 Java API 允许应用程序接进本机操作系统特性,同时保持跨平台支持。它目前提供了...
该组件通过JDesktop Integration Components(JDIC)库实现,这是一个开源项目,旨在弥合Java应用程序与本机操作系统特性之间的差距。 JDIC的核心目标是提供一个统一的Java API,使Java应用能在不失去跨平台能力的...
**Java Desktop Integration Components (JDIC)** 是一个开源的Java库,它为Java应用程序提供了与桌面环境集成的能力。这个库特别包含了一个名为 **IeEmbed** 的组件,这使得Java程序可以嵌入Internet Explorer(IE...
Swing显示HTML网页是Java开发GUI应用程序时的一个常见需求,主要涉及到Java的Swing库以及相关的第三方库,如JDIC(Java Desktop Integration Components)。本文将详细介绍如何在Swing界面中集成HTML网页显示功能。 ...
Neo4jDesktop Setup1.6.1软件包,用于无法访问外网的同学下载。