Thanks Doug and Russel! That did the trick.
Doug Lindholm wrote:
This is a heavyweight (3D display) vs. lightweight (JMenu) issue. You
can correct your problem by doing the following before you set up your
JPopupMenu.setDefaultLightWeightPopupEnabled( false );
ToolTipManager.sharedInstance().setLightWeightPopupEnabled( false );
John Osborne wrote:
I want to add a menubar to the JFrame containing my 3D display. The
problem is that the menus are obscured by the 3D plot. I can click and
drag on the menu and verify that the menu items do indeed work--they are
just invisible. When I don't add my display to the frame, the menubar
and items showed up properly. Is there a way to have a menubar coexist
with a display in a JFrame?