diff src/alice/test/topology/aquarium/fx/Aquarium.java @ 6:ae0a39622a58

add Position controller
author e095732
date Mon, 28 Jan 2013 16:29:47 +0900
parents 50d77513d52e
children bf24d5200770
line wrap: on
line diff
--- a/src/alice/test/topology/aquarium/fx/Aquarium.java	Mon Jan 28 00:25:01 2013 +0900
+++ b/src/alice/test/topology/aquarium/fx/Aquarium.java	Mon Jan 28 16:29:47 2013 +0900
@@ -24,7 +24,7 @@
 	public void start(Stage primaryStage) throws IOException {
 		root = FXMLLoader.load(getClass().getResource("aquarium.fxml"));
 		// AquariumController cont = (AquariumController) loader.getController(); get Controller instance
-		ImageView iv = (ImageView) root.getChildren().get(3);
+		ImageView iv = (ImageView) root.getChildren().get(1);
 		Image img = new Image("fish.jpg");
 		iv.setImage(img);
 		list = root.getChildren();