Is there a way to style multiple ImageViews and similar? For example, I have this code:
Image pic1 = new Image(getClass().getResourceAsStream("/pic1.png"));
ImageView picView1 = new ImageView(pic1);
picView1.setFitHeight(PIC_SIZE);
picView1.setPreserveRatio(true);
picView1.setSmooth(true);
Image pic2 = new Image(getClass().getResourceAsStream("/pic2.png"));
ImageView picView2 = new ImageView(pic2);
...
I would like to change the SIZE on all images, there are over 10 images. Could I create a Group and add all views to it and by that target all of the Objects to manipulate? Very new to JavaFX (11).