This example demonstrates the use of Icons to polish your JYDocking application. The same icon is used for each supported view mode (minimized in Dockbar, docked in a JTabbedPane).

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.