private static void configureDocking() {
// setup the DockingManager to work with our application
DockingManager.setDockableFactory(new ViewFactory());
DockingManager.setFloatingEnabled(true);
EffectsManager.setPreview(new GhostPreview());
// configure the perspective manager
PerspectiveManager.setFactory(new DemoPerspectiveFactory());
PerspectiveManager.setRestoreFloatingOnLoad(true);
PerspectiveManager mgr = PerspectiveManager.getInstance();