1
0
Fork 0

//some UI loop changes

main
Emelie Schneider 2024-01-07 15:30:00 +01:00
parent 1d841fd7be
commit 701302e3cd
1 changed files with 12 additions and 4 deletions

View File

@ -46,12 +46,13 @@ public class Axel {
//set values in cells
System.out.println("cell:");
System.out.println();
System.out.println("cell name:");
readInput= sc.nextLine();
currentCell=readInput;
System.out.println("Set:");
System.out.println("Set formula or value:");
readInput= sc.nextLine();
@ -62,11 +63,18 @@ public class Axel {
System.out.println(spr);
System.out.println();
System.out.println("Do you want to save the sheet?(y/n)");
readInput=sc.nextLine();
if(readInput.equals("y")||readInput.equals("Y")) {
spr.saveCsv("test");
}
System.out.println("Exit? y/n");
readInput= sc.nextLine();
if(readInput.equals("y")||readInput.equals("Y"))
if(readInput.equals("y")||readInput.equals("Y"))
exit=true;
}