!7 concept Profile { S name, options; } module VNCViewerTrayIcon > DynCRUD { transient TrayIcon trayIcon; *() { super(Profile); } start { db(); makeTrayIcon(); } void makeTrayIcon enter { disposeTrayIcon(trayIcon); L menuItems = ll(r { directNohupJavax(#1013103) }); for (Profile p) addAll(menuItems, p.name, r { directNohupJavax(#1013103 + " " + p.options) }); trayIcon = installTrayIcon(#1101468, "Start VNC Viewer", toObjectArray(menuItems)); } void cleanMeUp { disposeTrayIcon(trayIcon); } }