Update Controller.java
Fixed formatting
This commit is contained in:
		| @@ -127,7 +127,6 @@ public class Controller { | |||||||
|               	          imgView =  new ImageView("file://" + fileList[i]); |               	          imgView =  new ImageView("file://" + fileList[i]); | ||||||
| 			  thumbImgView.getChildren().add(imgView); | 			  thumbImgView.getChildren().add(imgView); | ||||||
| 			  final ImageView imgViewPoped =  new ImageView("file://" + fileList[i]); | 			  final ImageView imgViewPoped =  new ImageView("file://" + fileList[i]); | ||||||
|  |  | ||||||
|                           imgView.setOnMouseClicked(mouse -> { |                           imgView.setOnMouseClicked(mouse -> { | ||||||
| 			      if (mouse.getClickCount() == 2 && !mouse.isConsumed()) { | 			      if (mouse.getClickCount() == 2 && !mouse.isConsumed()) { | ||||||
| 				  mouse.consume(); | 				  mouse.consume(); | ||||||
| @@ -138,8 +137,7 @@ public class Controller { | |||||||
|             } else { |             } else { | ||||||
|                    System.out.println("Not a video or image file."); |                    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 |     // View Image enlarged Note, sets up a seperate stage and scene with auto enlargment | ||||||
|     public void displayImg(ImageView imgViewPoped, String path) { |     public void displayImg(ImageView imgViewPoped, String path) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Maxim
					Maxim