... | @@ -31,10 +31,8 @@ Although it was not technically required by the assignment instructions, we want |
... | @@ -31,10 +31,8 @@ Although it was not technically required by the assignment instructions, we want |
|
|
|
|
|
Specifically, we wanted to allow user input for these decisions:
|
|
Specifically, we wanted to allow user input for these decisions:
|
|
|
|
|
|
|
|
<details><summary>**1.** Allow the user to **accept the default directory or set a new one.**
|
|
**1.** Allow the user to **accept the default directory or set a new one.**
|
|
</summary>
|
|
|
|
|
|
<details><summary> See the Code</summary>
|
|
|
|
|
|
|
|
```java
|
|
```java
|
|
Scanner askUser = new Scanner(System.in); // warning coming from non-closed scanner. Note: if we close it, subsequent scanners fail to work.
|
|
Scanner askUser = new Scanner(System.in); // warning coming from non-closed scanner. Note: if we close it, subsequent scanners fail to work.
|
... | @@ -86,9 +84,8 @@ Scanner askUser = new Scanner(System.in); // warning coming from non-closed sc |
... | @@ -86,9 +84,8 @@ Scanner askUser = new Scanner(System.in); // warning coming from non-closed sc |
|
</details>
|
|
</details>
|
|
|
|
|
|
|
|
|
|
**2.** Ask the user if they would like to **see additional information** on the WMS while the programme is running.
|
|
<details><summary>**2.** Ask the user if they would like to **see additional information** on the WMS while the programme is running.
|
|
|
|
</summary>
|
|
<details><summary>See the Code</summary>
|
|
|
|
|
|
|
|
```java
|
|
```java
|
|
|
|
|
... | @@ -125,9 +122,8 @@ Scanner askUser = new Scanner(System.in); // warning coming from non-closed sc |
... | @@ -125,9 +122,8 @@ Scanner askUser = new Scanner(System.in); // warning coming from non-closed sc |
|
</details>
|
|
</details>
|
|
|
|
|
|
|
|
|
|
**3.** Ask the user if they would like to **proceed to launch** Google Earth.
|
|
<details><summary>**3.** Ask the user if they would like to **proceed to launch** Google Earth.
|
|
|
|
</summary>
|
|
<details><summary> See the Code </summary>
|
|
|
|
|
|
|
|
```java
|
|
```java
|
|
|
|
|
... | | ... | |