Last update of this Page:
Swing components are usually light weight components. But Canvas3D is a heavy weight component. The order of component drawing is : first light weight one and then heavy weight one. So, if the JMenuItem etc. can not draw over the Canvas3D. You just can not see the menu. Or if the pop up menu size is over the application window size, you can see the pop up menu.
To solve this problem, you should declare the Swing component should be heavy weight. One way of this is using setDefaultLightWeightPopupEnabled() method. For example, write next code before you new the MenuItem component. Java3D demo includes some JComboBox examples.
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
// import com.sun.j3d.utils.behaviors.picking.*; import com.sun.j3d.utils.picking.behaviors.*
if(!mevent.isAltDown() && mevent.isMetaDown())
then MouseTranslate.wakeup() is called. This make a stimulus to
wake up MouseTranslate.processStimulus() with wakeup == true.
if(!mevent.isAltDown() && !mevent.isMetaDown())
if ((id == MouseEvent.MOUSE_DRAGGED) && (!(evt.isAltDown())) && (!(evt.isMetaDown())))