Added support for Java System Tray - needs Java 6