This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If a window (e.g. a dialog) is created nested in another window (as a property) there's no way to move the window into a separate class.
Since it's possible to copy and paste all components into a separate newly created class this shouldn't be too hard to realize.