Try this:
nickNameBox.setStyle("-fx-background-color: #992222;");
EDIT:
You should add nickNameBox and messageBox to the VBox. These are not related to anything.
for example write these lines before this.getChildren().add(chatBlock); in initGUI():
this.getChildren().add(nickNameBox);
this.getChildren().add(messageBox);