After the fix for "7162144: Missing AWT thread in headless mode in 7u4 b06"
which is pushed inyo 7u6, I find that netbeans comes up with a completely
empty main menu bar.
I reverted this fix and the menu bar came back .. I repeated this
again to make sure and it does seem to be 100% reproducible.
I didn't see it with SwingSet, so undoubtedly its something netbeans
is doing that makes it an issue but I expect this is still a stopper.
The fix for 7162144 is presently in the 7u6 repo, but is not yet in any
nightly build (I don't know why nightly builds aren't happening, but they aren't),
so you need to create your own build to see this.
If this isn't fixed before then the problem will appear in 7u6 b21.
I also can't test it on JDK 8 since it doesn't appear to be fixed in JDK 8
yet, although I thought all bugs were supposed to be fixed in 8 first.