[ SOLVED - almost ] How do I create “ menu extra" icon + drop down menu at right hand side of menu bar?

I am working on an app ( eg a "menu bar application" ) which needs to use an "menu Extras" icon and menu - similar to the standard speaker, Blutooth and WiFif ones on the right hand side of the OSX menu bar. 


How can I do this in JUCE ? or if not - where is the best place to add such code int o JUCE ?


ok i'm using a SystemTrayIconComponent  but still get the problem mentioned by others - namely that to display a popup and select items my app has to be the frontmost process - which I cannot guarantee.


Any advice ?