parent
95a280dd11
commit
edb222dbca
|
@ -127,7 +127,6 @@ public class Controller {
|
|||
imgView = new ImageView("file://" + fileList[i]);
|
||||
thumbImgView.getChildren().add(imgView);
|
||||
final ImageView imgViewPoped = new ImageView("file://" + fileList[i]);
|
||||
|
||||
imgView.setOnMouseClicked(mouse -> {
|
||||
if (mouse.getClickCount() == 2 && !mouse.isConsumed()) {
|
||||
mouse.consume();
|
||||
|
@ -138,8 +137,7 @@ public class Controller {
|
|||
} else {
|
||||
System.out.println("Not a video or image file.");
|
||||
}
|
||||
posY = posY + 355.0;
|
||||
}
|
||||
posY = posY + 355.0; }
|
||||
}
|
||||
// View Image enlarged Note, sets up a seperate stage and scene with auto enlargment
|
||||
public void displayImg(ImageView imgViewPoped, String path) {
|
||||
|
|
Loading…
Reference in New Issue