In response to the post
by Barry Walsh
and Andrew Phelps
the problem arises when you add the following code to Andrews example of the
HelloUniverse
JMenu pullout = new JMenu("pull out");
viewM.add(pullout);
JMenuItem pullout_item = new JMenuItem("pull out item");
pullout.add(pullout_item);
now you have a pull down menu(View) that also has another JMenu inside of it
that pulls out a cascading menu
the cascaded menu does not show up though, even though you have set the
lightweight popup variable so that it should
In my opinion that is a bug.
It should be showing up
you can also do this same example with a regular canvas and jmenus
The best that I can figure, is that the cascaded menu is trying to use it's
parent as a rendering source, but that parent is lightweight so, it gets drawn
over by the heavy weight canvas.
I have posted this to the java bug site as well
Scott
Scott Decker
Research Scientist
Pacific Northwest National Labs
[EMAIL PROTECTED]