I have in my javafx app an HBox with ImageViews, now I need some way to iterate through this HBox, but I can't find out an algorithm how to do it, I have tried to do something like this:
Object[] stack = stackWrapp.getChildren().toArray();
where stack is my HBox, but the ImageViews in this way will be duplicated, what I don't want. I don't know why So how can I do it..