comparison src/main/java/alice/test/topology/aquarium/fx/Aquarium.java @ 618:41a5977e754c dispose

aquarium
author suruga
date Wed, 26 Jul 2017 16:17:33 +0900
parents 5a9b83c64ddf
children 0960dd991266
comparison
equal deleted inserted replaced
617:9ac910236f59 618:41a5977e754c
29 29
30 private OutputDataSegment ods = new OutputDataSegment(); 30 private OutputDataSegment ods = new OutputDataSegment();
31 31
32 @Override 32 @Override
33 public void start(Stage primaryStage) throws IOException { 33 public void start(Stage primaryStage) throws IOException {
34 final String myName = getParameters().getRaw().get(0); // name 34 String myName = getParameters().getRaw().get(0); // name
35 primaryStage.setTitle("Aquarium "+ myName); 35 primaryStage.setTitle("Aquarium "+ myName);
36 primaryStage.setResizable(false); 36 primaryStage.setResizable(false);
37 primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>(){ 37 primaryStage.setOnCloseRequest(new EventHandler<WindowEvent>(){
38 @Override 38 @Override
39 public void handle(WindowEvent event) { 39 public void handle(WindowEvent event) {