JAVA Implementation of the tray icon program in Windows

Source: Internet
Author: User
Windows tray iconProgramJAVA Implementation
Click: 89
JAVA Implementation of the Windows System Tray Icon Program
what is the Windows System Tray Icon?

the Windows status bar is also called the system tray, which is located on the right of the taskbar. A small icon appears in the system tray area when many software programs run. It serves as a sign for running the program. You can use a small icon to control the display/hide of programs, and use the pop-up menu to control the application. This not only facilitates users, but also saves Windows taskbar resources by using the system tray icon. This small icon is called a Windows system tray icon, for example, a Windows system input method, a sound control icon, or a software Icon such as Kingsoft, MSN, and super decoding.

program implementation functions:

it can accept JPG/GIF image files of 16x16 sizes as Tray icons;
A prompt is displayed when you move the cursor over the tray icon.
click the tray icon to display/hide the program interface;
when the program is minimized, it is not displayed in the task bar.
right-click the tray icon to bring up the program control menu.
it provides interfaces for other mouse events of the tray, such as double-click.
program running Configuration:

Windows + jdk1.4 or jre1.4 or later

Program Source Code :

download all (including c ++ Source Code) (about KB)

statement:

the program is developed based on http://jeans.studentenweb.org/java/trayicon/trayicon.html#< SPAN class = "wp_keywordlink"> Code . instead of using the pop-up menu provided by VCL, Java's jpopupmenu is used directly. of course, you can also change it to popupmenu if needed, and it is much easier to use than the Code provided by jeans. You only need a few statements to complete it, trayicontest. java is an example.
this program and Code cannot 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.