JMenu

I'm writing a web app using the swing components and I'm using a JMenu the problem is i cant seem to get the menu to draw onto of the other compents and i was wondering how i can force the menu to be ontop of everything else.
[234 byte] By [spiderhypera] at [2007-10-3 10:15:29]
# 1
are you mixing awt and swing components?
Michael_Dunna at 2007-7-15 5:36:09 > top of Java-index,Desktop,Core GUI APIs...
# 2
nope, its all done with swing. I have two JPanels and one above the other, the JMenu draws over the top of the first one fine its just the secound one that it gets drawn behind.
spiderhypera at 2007-7-15 5:36:09 > top of Java-index,Desktop,Core GUI APIs...
# 3

never mind i fixed the problem. I thought i was using all swing compents but i thought i should just take alook just incase and you where right the one that was getting drawn over the top of the JMenu was an awt instead. :( looks like i might have to go through all the code now and make sure i didnt make the same mistake on any other compents.

spiderhypera at 2007-7-15 5:36:09 > top of Java-index,Desktop,Core GUI APIs...