.build();
button1.setOnSelect(selectionEvent -> System.out.println("Select") );
button1.setOnDeselect(selectionEvent -> System.out.println("Deselect") );
StackPane pane = new StackPane();
pane.setPadding(new Insets(10, 10, 10, 10));
pane.getChildren().setAll(imgView, button1);
Scene scene = new Scene(pane, 256, 256, Color.rgb(153, 153, 153));
stage.setTitle("JavaFX PushButton");
stage.setScene(scene);