by JIDE Support » Thu Apr 19, 2007 3:36 pm
It is not possible to restore one dockable frame's position (at least not exact) since a dockable frame's position could be affected by oither frames position. PreviousState is a class for this purpose but it only works within the context (such as what are the dockable frames within the same tabbed pane etc. You can see it since your company has JIDE source code). The only way to restore exactly is to call loadLayoutData or seveveral load layout methods which will load the whole layout, not just one dockable frame. In DockingManager, there is getLayoutRawData and setLayoutRawData. It is a byte array. You can use Base64 to encode it and save it to database and decoded back call setLayoutRawData to set the whole layout. This is the only way to gurantee an exact restore of the position.
Thanks,
JIDE Software Technical Support Team