> If you will not
> setNortPane(null);
> it will keep empty place in north part.
> If you will - it uninstalls listeners.
> I tried to keep references for BorderListener but without success
Why do you need BorderListener?
It is rather buggy thing.
Write your own.

Signature
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
> If you will not
> setNortPane(null);
> it will keep empty place in north part.
don't set it to null because it is then removed, from frame and you can't
readd it.
to remove empty space at north part add following line:
northPane.setPreferredSize(new
Dimension(northPane.getPreferredSize().height, 0));
However, it rendered wrong, but you can drag it.

Signature
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
Vova Reznik - 01 Feb 2006 22:08 GMT
>>If you will not
>> setNortPane(null);
[quoted text clipped - 8 lines]
>
> However, it rendered wrong, but you can drag it.
Thanks, finally I wrote my own title pane
and added to it my own MouseMotionListener.
In JInternalFrame I added
BasicInternalFrameUI ui = (BasicInternalFrameUI) getUI();
ui.setNorthPane(null);
ui.setWestPane(myTitlePane);
Andrey Kuznetsov - 01 Feb 2006 22:26 GMT
> In JInternalFrame I added
> BasicInternalFrameUI ui = (BasicInternalFrameUI) getUI();
> ui.setNorthPane(null);
> ui.setWestPane(myTitlePane);
I am curios how did you added it to JInternalFrame?

Signature
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
Vova Reznik - 02 Feb 2006 15:22 GMT
>>In JInternalFrame I added
>>BasicInternalFrameUI ui = (BasicInternalFrameUI) getUI();
>>ui.setNorthPane(null);
>>ui.setWestPane(myTitlePane);
>
> I am curios how did you added it to JInternalFrame?
I subclassed JInternalFrame.