code: public void initialize() {
  
          // Use the guice injector to fetch our color code definitions.
          final String red = injector.getInstance(Key.get(String.class, Names.named("red-button-color-string")));
          final String green = injector.getInstance(Key.get(String.class, Names.named("green-button-color-string")));
          
          // We use the Guice-injected value for our desired color to update
          // the style of our FXML-injected button.
          redButton.setStyle(String.format("-fx-base: %s;", red));
          greenButton.setStyle(String.format("-fx-base: %s;", green));
      }
docs: This method will automatically be called by the FXML loader.
  See Oracle's JavaFX/FXML documentation for further details about
  that mechanism. (Note: it was necessary to implement {@ link Initializable})
  int the past, but that mechanism has been deprecated.