A persistent Perspective is able to store and restore JYDocking perspectives, so your application is able to remember user settings.

This example doesn't store your perspectives until you enable Persistence through DockingManager#setAutoPersist(true). After enabling auto-persistence perspectives will be stored in the configured file. If the file name doesn't contain any slashes it's treated as relative and will be stored in "${userdir}/.jydocking/".

All relevant lines are highlighted. Press Run... button to start the example.