com.ontimize.windows.systray
Class SystrayUtils
java.lang.Object
com.ontimize.windows.systray.SystrayUtils
- public abstract class SystrayUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystrayUtils
public SystrayUtils()
isSystrayEnabled
public static boolean isSystrayEnabled()
show
public static void show(java.lang.Object menu)
hide
public static void hide(java.lang.Object menu)
remove
public static void remove(java.lang.Object menu)
addSystemTrayIcon
public static java.lang.Object addSystemTrayIcon(java.lang.String icon,
java.lang.String tip,
javax.swing.JMenu menu,
SystrayUtils.SystrayListener sListener)
- Parameters:
icon - Relative path to the resource without extension to ensure the
portabilitytip - menu - sListener - Listener with interest in menu item and icon events
- Returns: