That seems like a lot of code for simply showing us how you're adding a menu to a JFrame. I suggest boiling your problem down to an SSCCE.

Have you tried using the alignment methods?