public abstract class SystrayUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SystrayUtils.SystrayListener |
| Constructor and Description |
|---|
SystrayUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
addSystemTrayIcon(String icon,
String tip,
JMenu menu,
SystrayUtils.SystrayListener sListener) |
static void |
hide(Object menu) |
static boolean |
isSystrayEnabled() |
static void |
remove(Object menu) |
static void |
show(Object menu) |
public static boolean isSystrayEnabled()
public static void show(Object menu)
public static void hide(Object menu)
public static void remove(Object menu)
public static Object addSystemTrayIcon(String icon, String tip, JMenu menu, SystrayUtils.SystrayListener sListener)
icon - Relative path to the resource without extension to ensure the
portabilitytip - menu - sListener - Listener with interest in menu item and icon eventsCopyright © 2016 Imatia Innovation S.L.. All rights reserved.