Can be to add dockables to custom JDialog?

I Try to implements a several panels in a existing application, these panels are contains in a JDialog. I create a custom Dialog that extends from JDialog and implements WindowProvider for registrer CControl. Thus minimize, maximize and close dockables working very good, but externizable not. when I drag a dockable out of Dialog, it disappears. Please somebody help me. Thanks

I assume either the “isShowing”-method returns false, or you don’t call WindowProviderListener#visibilityChanged when you make the dialog visible.

Anyway, why not using a DirectWindowProvider? This provider is often used by the framework and works all the time.

Or you post some code, such that I can start and debug the application.