package com.esri.samples.scene.change_atmosphere;

public class ChangeAtmosphereSample {
}

@@ -48,44 +48,2506 @@
 e;%0A%0A
-public class ChangeAtmosphereSample %7B
+import com.esri.arcgisruntime.mapping.ArcGISScene;%0Aimport com.esri.arcgisruntime.mapping.ArcGISTiledElevationSource;%0Aimport com.esri.arcgisruntime.mapping.Basemap;%0Aimport com.esri.arcgisruntime.mapping.Surface;%0Aimport com.esri.arcgisruntime.mapping.view.SceneView;%0Aimport javafx.application.Application;%0Aimport javafx.scene.Scene;%0Aimport com.esri.arcgisruntime.mapping.view.Camera;%0Aimport javafx.scene.layout.StackPane;%0Aimport javafx.stage.Stage;%0A%0Apublic class ChangeAtmosphereSample extends Application %7B%0A%0A    private SceneView sceneView;%0A    private static final String ELEVATION_IMAGE_SERVICE =%0A            %22http://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer%22;%0A%0A    @Override%0A    public void start(Stage stage) %7B%0A%0A        try %7B%0A            // create stack pane and JavaFX app scene%0A            StackPane stackPane = new StackPane();%0A            Scene fxScene = new Scene(stackPane);%0A%0A            // set title, size, and add JavaFX scene to stage%0A            stage.setTitle(%22Change Atmosphere Sample%22);%0A            stage.setWidth(800);%0A            stage.setHeight(700);%0A            stage.setScene(fxScene);%0A            stage.show();%0A%0A            // create a ArcGIS scene and add a basemap to it%0A            ArcGISScene scene = new ArcGISScene();%0A            scene.setBasemap(Basemap.createImagery());%0A%0A            // add the SceneView to the stack pane%0A            sceneView = new SceneView();%0A            sceneView.setArcGISScene(scene);%0A            stackPane.getChildren().add(sceneView);%0A%0A            // add a camera and initial camera position%0A            Camera camera = new Camera(64.687362, -14.371570, 200, 305, 95, 0);%0A            sceneView.setViewpointCamera(camera);%0A%0A            // add base surface for elevation data%0A            Surface surface = new Surface();%0A            surface.getElevationSources().add(new ArcGISTiledElevationSource(ELEVATION_IMAGE_SERVICE));%0A            scene.setBaseSurface(surface);%0A%0A        %7D catch (Exception e) %7B%0A            // on any error, display the stack trace.%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%0A    /**%0A     * Stops and releases all resources used in application.%0A     */%0A    @Override%0A    public void stop() %7B%0A%0A        if (sceneView != null) %7B%0A            sceneView.dispose();%0A        %7D%0A    %7D%0A%0A    /**%0A     * Opens and runs application.%0A     *%0A     * @param args arguments passed to this application%0A     */%0A    public static void main(String%5B%5D args) %7B%0A%0A        Application.launch(args);%0A    %7D
 %0A%7D%0A

Update src/main/java/com/esri/samples/scene/change_atmosphere/ChangeAtmosphereSample.java