Java implementation __java of Windows system tray icon Program

Source: Internet
Author: User
Java implementation of Windows system tray icon Program
2004-02-17 Hits: 89
Windows system tray icon Program Java implementation
What is the Windows system tray icon. The

Windows status Bar, also known as the system tray, is located on the right side of the taskbar. A lot of software running will appear in the system tray area A small icon, it as a program to run a flag, users can use the Small icon control program to display/hide, as well as the way to control the application pop-up menu. This not only facilitates the user, but also uses the system tray icon to better conserve the resources of the Windows taskbar. This small icon is called Windows System tray icon, such as: Windows system Input Method, voice control icon, or PowerWord, MSN, Super Jie Ba and other software icon.

Program Implementation features:

to accept any 16x16 size jpg/gif picture file as a tray icon;
To display a prompt when the mouse moves over the tray icon;
Show/Hide the program interface by clicking the tray icon;
When the program is minimized, it does not appear in the taskbar;
Right-click the tray icon to eject the programmatic menu;
provides interfaces for other mouse events on the pallet, such as double-clicking,
program Run Configuration:


Windows + JDK1.4 or JRE1.4 version br>

Program source code:


Download All (containing C + + source) (approx. 102KB)

Declaration:


This program is in Http://jeans.studentenweb.org/ja Va/trayicon/trayicon.html provided by the program source code based on the adaptation. Instead of using the pop-up menu provided via VCL, use the Java JPopupMenu directly. Of course, if you need to, you can also change it to PopupMenu, and relatively jeans provided by the code to use more convenient, only a few sentences to complete, Trayicontest.java is a use of the example.
This program and code shall not be used for commercial purposes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.