Both Bloom and Glow provide a glowing effect based on the color of the Node:
The difference is pretty subtle. You can try to spot it yourself by toying with the code:
// chapter8/colors/BloomGlowDemo.javapublic void start(Stage primaryStage) { Function<String,Text> makeLabel = (String name)-> { Text label = new Text(name); label.setFill(Color.LIGHTBLUE); label.setFont(Font.font("Verdana", FontWeight.BOLD, 40)); return label; };
Text label = makeLabel.apply("JavaFX Bloom"); label.setEffect(new Bloom(0.8)); Text label2 = makeLabel.apply("JavaFX Glow"); label2.setEffect(new Glow(0.8)); Text label3 = makeLabel.apply("JavaFX Text"); ...