Send a message to another app (message can contain an integer)
Can be used to detect that another instance of your app is already running
That instance can for example restore it's window after it receives the windows
message - see demo app for more info
Param appName = the title of the hidden window to search for
Param message = the integer message to send (only native int size supported)
Change this icon's Image
Using a Java Image - This can be loaded from a 16x16 GIF or JPG file
Param image 16x16 icon - make sure it's loaded in memory - use MediaTracker
Param w the icon width
Param h the icon height
Exception TrayIconException - if something goes wrong :O(
- Error loading icon image
Exception InterruptedException - if the thread loading the image is interrupted
Create menu in native library - used by WindowsTrayIcon.setPopup()
Param trayicon = the owner of this menu
Param id = the icon's id
Param level = the level (submenu depth)
Create menu in native library - used by WindowsTrayIcon.setPopup()
Param trayicon = the owner of this menu
Param id = the icon's id
Param level = the level (submenu depth)
Create menu in native library - used by WindowsTrayIcon.setPopup()
Param trayicon = the owner of this menu
Param id = the icon's id
Param level = the level (submenu depth)
Create menu in native library - used by WindowsTrayIcon.setPopup()
Param trayicon = the owner of this menu
Param id = the icon's id
Param level = the level (submenu depth)
Set callback method for receiving windows messages
See sendWindowsMessage() for more information or take a look at the demo app
Param callback = the callback method for this app