This looks similar to a problem that cropped up on the list
recently. In that case the issue was with a Window, that was owned
by a Frame, being used as a floating palette. The window was
sometimes taking focus and prevented keyboard shortcuts from being
processed properly. The effect was the same as you are observing -
that is that the "appropriate menu is briefly highlighted... but
the action itself isn't performed.
The solution in that case was to call setFocusableWindowState
(false) on the window - this prevents the window gaining focus.
In your case it is possible that that you are calling this same
method for your hidden frame, also with the argument "false". If
this is the case then remove that line or call
setFocusableWindowState(true). This could mean that you could end
up with your application showing your empty application menubar
when you have open windows in your application IF the hidden frame
were to somehow take focus. But that is unlikely to happen and I
can think of ways to sort that too.