Repositioning An unwanted JInternalFrame
Hello to all.
We start from what I've done and After from what does not work.
So, in practice, I created a JScrollPane with an JDesktopPane which in turn contains a JTable and JInternalFrame to a higher level.
The layout as JDesktopPane uses the FormLayout and JInternalFrame is added with the following CellConstraints:
Everything works perfectly except that after moving the JInternalFrame within JDesktopPane, they are again placed in their original position every time you go out with the mouse outside the JDesktopPane.
new CellConstraints(1, 1, CellConstraints.LEFT, CellConstraints.TOP)
Why this happen?
Which method that is called?
How can I avoid this?
Thanks to everyone for any reply.