// if docking has just completed, then we cannot be in a minimized state
info.setMinimizedConstraint(MinimizationManager.UNSPECIFIED_LAYOUT_CONSTRAINT);
// update the floating state
RootWindow window = RootWindow.getRootContainer(dockable.getComponent());
FloatManager floatManager = DockingManager.getLayoutManager().getFloatManager();
Component frame = window==null? null: window.getRootContainer();
if(frame instanceof DockingFrame) {
String groupId = ((DockingFrame)window.getRootContainer()).getGroupName();
floatManager.addToGroup(dockable, groupId);
} else {
floatManager.removeFromGroup(dockable);
}
EventQueue.invokeLater(new Runnable() {
public void run() {
updateState(dockingEvent);