So far my searching hasn't given me any clues yet so I figured I'd ask here. Also I'm still getting used to working on a mac so I might have the terms wrong for mac jargon.

Looking to write an app that sits in the menu bar but I'm unfamiliar with what is required to make it do so. Anyone have a link that describes what is needed to do that? Hoping to find a solution in one of the following languages: C, C++, Java, or PHP (I wish).