Preventing JinternalFrame from being dragged behind menu bar?

Hello,

I was wondering if there is a method to prevent the user from dragging a JInternalFrame into the menu bar of a Jdesktoppane?

Problem is the user drags the window, than can't drag it back because the drag controls are behind the menu bar.

It would be nice to limit the location of dragging,

Would i have to implement my own mouselistener?

thanks

[389 byte] By [m3the01a] at [2007-11-27 8:53:53]
# 1
Why not just add the menubar to the frame?
camickra at 2007-7-12 21:12:06 > top of Java-index,Desktop,Core GUI APIs...