private void initializeParts() {
    dialogPane = new VBox();
    dialogPane.getStyleClass().add("dialog-pane");

    dialogHeader = new HBox();
    dialogHeader.getStyleClass().add("dialog-header");

    dialogTitle = new Label("Dialog");
    dialogTitle.getStyleClass().add("dialog-title");

    dialogContentPane = new StackPane();
    dialogContentPane.getStyleClass().add("dialog-content-pane");

    dialogButtonBar = new ButtonBar();
    dialogButtonBar.getStyleClass().add("dialog-button-bar");
  }
Creates a new {@link DialogSkin} object for a corresponding {@link DialogControl}.

@param dialogControl the {@link DialogControl} for which this Skin is created
workbenchfx-core/src/main/java/com/dlsc/workbenchfx/view/controls/dialog/DialogSkin.java