<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0057)http://jeans.studentenweb.org/java/trayicon/trayicon.html -->
<HTML><HEAD><TITLE>Windows Tray Icon with JAVA!</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="Jan Struyf" name=Author>
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY background="Windows Tray Icon with JAVA!.files/bkg.gif" nosave>
<H1>Windows Tray Icon - Java Implementation!</H1>
<H2>About?</H2>Want your Java App to live in the Windows System Tray (Taskbar
Notification Area)?
<UL>
<LI>Any icon can be used. You just need a 16x16 GIF/JPG image!
<LI>Tooltip is displayed when the user mouses over the icon
<LI>ActionListener support (callback Java method when user clicks Tray Icon)
<LI>Popup menu support (<A
href="http://jeans.studentenweb.org/java/trayicon/trayshots.html">AWT
menu</A>, <A
href="http://jeans.studentenweb.org/java/trayicon/trayshots.html">Swing
menu</A>, ...)
<LI>Internationalization support
<LI>Your applications window can be hidden (removed from the task bar) until
the user clicks the Tray Icon!
<LI>Support for Windows XP style Balloon Messages
<LI>C++ source code for the native library included
<LI><A
href="http://jeans.studentenweb.org/java/trayicon/unicode.html">Unicode</A>
and Internationalization support
<LI>Small demo app included </LI></UL>
<CENTER>
<TABLE border=1>
<TBODY>
<TR>
<TD><IMG
src="Windows Tray Icon with JAVA!.files/shot-balloon.gif"></TD></TR></TBODY></TABLE></CENTER>
<H2>Screenshots</H2>
<UL>
<LI><A href="http://jeans.studentenweb.org/java/trayicon/trayshots.html">More
screenshots</A> </LI></UL>There's also a shot included using Chinese in a Swing
popup menu.
<H2>Installation</H2>
<UL>
<LI>Download the .zip file from the <A
href="http://jeans.studentenweb.org/java/trayicon/trayicon.html#download">download</A>
section (unzip it using <A href="http://www.winzip.com/">WinZip</A> or unzip
from <A href="http://www.cygwin.com/">Cygwin</A>)
<LI>Install it in a directory of your choice (C:\TrayIcon in this example)
<LI>Open a MS-DOS or Command prompt and say (Sun Java 1.2.x and above, see <A
href="http://jeans.studentenweb.org/java/trayicon/Readme.txt">README</A> for
other platforms)
<UL><B>cd</B> C:\TrayIcon <BR><B>javac</B> demo\awt\TestTrayIcon.java
<BR><B>java</B> demo.awt.TestTrayIcon</UL>or:
<UL><B>cd</B> C:\TrayIcon <BR><B>javac</B> demo\swing\SwingTrayIcon.java
<BR><B>java</B> demo.swing.SwingTrayIcon</UL>
<LI>The demo source is in <B>demo\</B>
<LI>The TrayIcon main class is <B>com\jeans\trayicon\WindowsTrayIcon.java</B>
<LI>The native C++ code is in
<B>com\jeans\trayicon\c++\WindowsTrayIcon.cpp</B> </LI></UL>
<H2>Version info</H2>
<UL>
<LI><A
href="http://jeans.studentenweb.org/java/trayicon/version.html">Complete
TrayIcon version history</A> </LI></UL>
<UL>
<LI>1.7.1 Released 11/01/02
<UL>
<LI>Works with Java 1.4
<LI>Bug fix for setCheck(boolean selected)
<LI>Dependency on jvm.lib removed (thanks to Justin Chapweske)
<LI>Includes some support for using a Swing popup menu </LI></UL>
<LI>1.7.2 Released 12/17/02
<UL>
<LI>Transparency bug fix for Windows ME
<LI>Fixed naming problem with setWindowsMessageCallback (introduced in
1.7.1) </LI></UL>
<LI>1.7.3 Released 01/03/03
<UL>
<LI>Bold and disabled AWT menu item support
<LI>Fixed bug in keepAlive() </LI></UL>
<LI>1.7.4 Released 01/08/03
<UL>
<LI>setAlwaysOnTop implemented for Swing menu (thanks to Mike Hicks)
<LI>SwingTrayIcon demo updated with nice Swing menu </LI></UL>
<LI>1.7.5 Released 02/20/03
<UL>
<LI>Support for MouseListeners (icon can respond to double clicks)
<LI>TrayIcons are not lost anymore when Explorer crashes ;-) (thanks to
Laurent Hauben)
<LI>JAWT is only used if Swing Menu is used </LI></UL>
<LI>1.7.6 Released 08/17/03
<UL>
<LI>Support for Balloon Messages
<LI>Bug in Swing menu fixed </LI></UL>
<LI>1.7.7 Released 10/23/03
<UL>
<LI><A
href="http://jeans.studentenweb.org/java/trayicon/unicode.html">Unicode</A>
support for native components </LI></UL>
<LI>1.7.8 Released 11/2/03
<UL>
<LI>Bugfix for 95/98/Me </LI></UL>
<LI>1.7.8b Released 11/26/03
<UL>
<LI>Fixed bug in Balloon message that caused VM to crash
<LI>Fixed bug in Balloon message specific to Windows 2000 </LI></UL>
<LI>1.7.8c Released 01/12/04
<UL>
<LI>Swing menu is now set Always-On-Top </LI></UL></LI></UL>
<H2>Hard & Soft?</H2>
<UL>
<LI>This software was tested on platform:
<UL>
<LI>MS Windows 95B, 98, ME, 2K, NT4, XP
<LI>Sun's Java 1.2, 1.3, 1.4
<LI>Sun's JDK/JRE 1.1.8 </LI></UL>
<LI>If something does not work, don't hesitate to mail me (<A
href="mailto:jan.struyf@cs.kuleuven.ac.be">jan.struyf@cs.kuleuven.ac.be</A>)
<BR>See also: <A
href="http://jeans.studentenweb.org/java/trayicon/Readme.txt">README</A>
</LI></UL>
<H2><A name=download></A>Downloads</H2>
<UL>
<LI><A
href="http://jeans.studentenweb.org/java/trayicon/trayicon-1.7.9b.zip">TrayIcon-1.7.9b.zip</A>
(<A
href="http://jeans.studentenweb.org/java/trayicon/unicode.html">Unicode</A>
support) </LI></UL><BR>Version 1.7.6 adds significant improvements for the Swing
menu. For an example, take a look at <A
href="http://jeans.studentenweb.org/java/trayicon/trayshots.html">this</A>.
<BR><BR>If you don't like TrayIcon for some reason, look at <A
href="http://www.javaapis.com/jtray/">JTray</A>. </BODY></HTML>
系统托盘例子代码下载的网页(源代码下载网页)
需积分: 0 56 浏览量
2008-10-04
02:28:58
上传
评论
收藏 229KB RAR 举报
wudongchina
- 粉丝: 2
- 资源: 4
最新资源
- # 微信小程序-健康菜谱 基于微信小程序的一个查找检索菜谱的应用 ### 效果 !动态图(./res/gif/demo
- zabbix-get命令包资源
- 毕业设计,基于PyQt5实现的可视化界面的Python车牌自动识别系统源码
- 26-朴素贝叶斯分类.rar
- 没有安Matlab 也可以 生成FIR抽头系数工具.py
- python烟花代码.rar
- 实验目的: 1.构建基于verilog语言的组合逻辑电路和时序逻辑电路; 2.掌握verilog语言的电路设计技巧 3.完成如
- 扩展卡尔曼滤波matlab仿真
- 3_base.apk.1
- 躺赢者PRO飞控常见典型问题合集(续一)无名小哥 余义 20240501待修
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
评论0