titleBarBorderColor = theme.getColor(7);
titleBarColor = theme.getColor(12);
shadeButtonColor = theme.getColor(12);
disabledShadeButtonColor = theme.getColor(7);
borderColor = theme.getColor(7);
padding = new Insets(4);
// Set the derived colors
titleBarBevelColor = TerraTheme.brighten(titleBarBackgroundColor);
// Create the title bar components
titleBarTablePane = new TablePane();
titleBarTablePane.getColumns().add(new TablePane.Column(1, true));
titleBarTablePane.getColumns().add(new TablePane.Column(-1));
titleBarTablePane.getStyles().put("padding", new Insets(3));
titleBarTablePane.getStyles().put("horizontalSpacing", 3);
TablePane.Row titleRow = new TablePane.Row(-1);
titleBarTablePane.getRows().add(titleRow);