04-02-2008, 11:13 PM
I'm making a small game and my main class extends Canvas. In my main method I construct a JMenuBar and add it to my JFrame. I then add a canvas to the JFrame using frame.getContentPane().add(myclassname). The problem is when I click on a category on my menubar it's opening up behind my canvas. Is there any way to get it to open in front of it? Thanks.