//some UI loop changes
parent
1d841fd7be
commit
701302e3cd
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue