Skip to content

Latest commit

 

History

History

NodeTray

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Node Tray demo

What does the sample do?

This sample provides a node health monitor that sits in the system tray.
It displays the following information:
  • A "computer" icon in the system tray, which turns green when the node is connected to a server, and red when it is disconnected
  • System tray notifications when the node status changes
  • Information about the node's performance and connection to a JPPF server, when the mouse is hovering over the icon

Here are some screenshots:

How do I run it?

Before running this sample application, you need to install a JPPF server and at least one node.
For information on how to set up a node and server, please refer to the JPPF documentation.
Once you have installed a server and node, perform the following steps:
  1. open a command prompt in JPPF-x.y-samples-pack/NodeTray
  2. important: to build this sample you need a JDK 1.6 or later, as the system tray APIs are not available in prior Java versions
  3. build the sample: type "ant jar" or simply "ant"; this will create a file named NodeTray.jar
  4. copy NodeTray.jar in the "lib" folder of the JPPF node installation, to add it to the node's classpath. This is enough to deploy the add-on.
  5. start the server and node
  6. you should see the new system tray icon

What features of JPPF are demonstrated?

I have additional questions and comments, where can I go?

If you need more insight into the code of this demo, you can consult the Java source files located in the CustomMBeans/src folder.

In addition, There are 2 privileged places you can go to: