I’m having problems with two objects from the same image that are supposed to be viewable side-by-side with viewport constraint. The first image object shows but not the second.
There are no syntax errors and it compiles but it is a logic issue. gull image can be substituted for any picture as long as its in same folder as the script.
P.S. the IDE above does not work for FX, it will have to be run in another IDE.
final Image img = new Image(PP4o11TEST.class.getResourceAsStream("gull.jpg"));
ImageView imgView = new ImageView(img);
ImageView imgView2 = new ImageView(img);