Beispiel #1
0
  /** Display this panel in the main window. */
  public void unwindowPanel() {
    // hide the frame
    dockManager.hide(this, false);

    // don't display this panel in a frame the next time
    setOpenInFrame(false);

    // show the panel in the main window
    dockManager.show(this);

    // as this view already *had* focus and will retain focus
    // DockManager::show()
    // won't be able to update the active toolbar
    if (hasToolbar()) {
      ((GuiManagerD) app.getGuiManager()).getToolbarPanel().setActiveToolbar(toolbar);
    }
  }