Update Controller.java

Fixed formatting
This commit is contained in:
Maxim 2016-11-07 02:12:36 -06:00 committed by GitHub
parent 95a280dd11
commit edb222dbca
1 changed files with 21 additions and 23 deletions

View File

@ -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) {