private void initializeParts() {
    closeIconShape = new StackPane();
    closeIconShape.getStyleClass().add("shape");
    closeBtn = new Button("", closeIconShape);
    closeBtn.getStyleClass().addAll("icon", "close-icon");

    nameLbl = new Label();
    nameLbl.getStyleClass().add("tab-name-lbl");

    controlBox = new HBox();
    controlBox.getStyleClass().add("tab-box");
  }
Creates a new {@link CustomTabSkin} object for a corresponding {@link CustomTab}.

@param tab the {@link CustomTab} for which this Skin is created
workbenchfx-demo/src/main/java/com/dlsc/workbenchfx/demo/controls/CustomTabSkin.java