This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
The button is probably working just fine, it just doesn't do what you think it does. It creates a new Menu (Is that java.awt.Menu? Then don't! You shouldn't mix AWT and Swing) which it then simply discards without doing anything with it.