views:

16

answers:

1

I am working on a Swing application in which I am trying to display an Applet (processing PApplet) inside of a JFrame. The frame has a JMenuBar attached to it. When I click on the menubar, the menu items are being shown behind the applet. Does anyone know what's going on here and a workaround? I didn't see anywhere where you can set the z-index for the JMenubar.

I suspect it has something to do with the Heavyweight/Lightweight component discussions that I have been trying so hard to avoid ;) Any help would be appreciated.

Thanks
-Bill

A: 

I found my answer here:

http://processing.org/discourse/yabb2/YaBB.pl?num=1174048435

Cheers

BillMan