static void removeTrayIcon(TrayIcon t) { if (t != null) SystemTray.getSystemTray().remove(t); }