The maximize action is added to the Main View only, so it can't be closed and is always visible. A MouseListener is installed to enable maximization by double-clicking on the Titlebar.
Floating allows you to drag and drop a view outside the current window as a new separate window. The DefaultFloatAction is independent from the float setting.
All relevant lines are highlighted. Press Run... button to start the example.