Ultimato il sistema di restore del contatore oggetti inseriti id
This commit is contained in:
@@ -9,6 +9,7 @@ import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.text.ParseException;
|
||||
|
||||
import it.unisa.info13d.Utility.IdCounter;
|
||||
import it.unisa.info13d.Utility.ReShow;
|
||||
|
||||
public class Main {
|
||||
@@ -18,12 +19,16 @@ public class Main {
|
||||
LoginData login = new LoginData();
|
||||
login.getUserDataInfo();
|
||||
|
||||
|
||||
IdCounter.restore_counter();
|
||||
Catalogo load_catalogo = new Catalogo();
|
||||
|
||||
|
||||
ReShow r = new ReShow();
|
||||
for (;r.reshow;)
|
||||
load_catalogo.showMenu(login.getType(),r);
|
||||
IdCounter.save_counter();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user