This post was published 8 years ago. It may be exremely outdated.
Dear programmers who develop Java applications for OS X, please, add this line to your application:
Code language: Java (java)
It will place the menu bar where it is expected to be in an OS X application.