DockingFrames in NetBeans Palette Containers

Micro-tutorial for NetBeans users:

I Preparing NetBeans

  1. Right click in palette → palette manager
  2. Add new category and add components from jar library (core).
    Now in the palette there are new components.

II Creating Project

  1. Create new project and new JFrame
  2. Drag to JFrame design window components: **DefaultDockable, splitDockGrid, dockFrontend **and **SplitDockStation.
    **3. rightclick in navigator on dockFrontend1 → customize code → add ‚this‘ in new bibliothek.gui.DockFrontend(this); and add line: dockFrontend1.addRoot( splitDockStation1, „station“ );
  3. rightclick in nabigator on splitDockStation1 → customize code and add line splitDockStation1.dropTree(splitDockGrid1.toTree()); in the bottom
  4. rightclick in navigator on splitDockGrid1 and add line in customize code :** splitDockGrid1.addDockable(0, 0, 1, 1, defaultDockable1);**
    It works :slight_smile: