jToolBar and jInternalFrame

On my MDI I have a menu bar and a tool bar. I then add jInternal frames where need. When I maximize my internal frames, they cover up the toolbar. Is there a way to set the toolbar so it is not covered by my internal frames (like the menu bar)?
[251 byte] By [lewkima] at [2007-11-27 1:29:04]
# 1
Add the toolbar to the BorderLayout.NORTH. Add the JDesktopPane to the BorderLayout.CENTER.
camickra at 2007-7-12 0:27:52 > top of Java-index,Desktop,Core GUI APIs...
# 2

I don't know if it makes a difference, but I am using NetBeans and it is adding the toolbar to the desktop:

org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());

getContentPane().setLayout(layout);

layout.setHorizontalGroup(

layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)

.add(desktopPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 1142, Short.MAX_VALUE)

);

layout.setVerticalGroup(

layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)

.add(desktopPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 745, Short.MAX_VALUE)

);

java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();

setBounds((screenSize.width-1150)/2, (screenSize.height-800)/2, 1150, 800);

If i have the toolbar added to the JFrame, then the combo boxes do not all display and they do not work. Whenever the user makes a different selection in the combo boxes on the toolbar, the JInternal frame changes it's data.

lewkima at 2007-7-12 0:27:52 > top of Java-index,Desktop,Core GUI APIs...
# 3
I fixed the problem. I needed to put the toolbar on the JFrame not the desktop and I need to adjust the height of the desktop to paint below the toolbar. Now when a JInternalFrame is opened, it opens below the toolbar inside the desktop.
lewkima at 2007-7-12 0:27:52 > top of Java-index,Desktop,Core GUI APIs...