Minimize to system tray

Is there any way to have the application minimize to system tray?

A quick search of juce sources for “TaskbarIconComponent” should turn up what you need. It’s not a cross-platform feature, however.

anyway, it could be… at least for linux also !

If you think of the dock on the mac as your system tray, then I think it could work for the mac as well, what needs to be added is a way of handling menu events that come from right clicking on the dock icon, which is very much like right clicking on a system tray icon.