Java Application JMenuBar for all Jforms : I am new to Java. I have programming experience on other programming languages , especially in PowerBuilder
I am writing a Java application with many forms and reports
I want to have a menu common for all jforms and reports ( any window on my application ).
I thought I could create a basic mainframe with the menu on it and the open any other window inside this main frame. I can't figure this out , only with InternalFrames but this is not what I want.
I made my JmenuBar , I put it on JPanel and then I put Jpanel on a maximized JFrame i called "mainframe". Any window from JmenuBar opens in front of "mainframe" Jframe. When I click on "mainframe" any open window goes back of cource , focus is on the "mainframe". 
I wrote a mouselistener for Jpanel which brings any open window toFront except "mainframe" of cource. That seems to make the job but I have to write the same listener for the JMenuBar and this has the disavantage of windows "flashing" any time they are coming toFront.
My truly question is :
What is the way you work with JmenuBars? 
Do I have to put JmenuBar to any JForm I create?
How can I have a mainframe ( maybe maximized) with the JMenuBar on it always on back and any other window opens inFront of this frame?

What I realy need is a main frame with menu for my application and everything happens inside this frame.

Thanks a lot

Kostas
