Da QUI INIZIA il SECONDO PROGETTO
This commit is contained in:
32
it/unisa/info13d/Main2.java
Normal file
32
it/unisa/info13d/Main2.java
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
package it.unisa.info13d;
|
||||||
|
|
||||||
|
import it.unisa.info13d.GestioneCatalogo.Catalogo;
|
||||||
|
import it.unisa.info13d.Login.LoginData;
|
||||||
|
import it.unisa.info13d.Utility.IdCounter;
|
||||||
|
import it.unisa.info13d.Utility.ReShow;
|
||||||
|
|
||||||
|
import java.io.FileNotFoundException;
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.text.ParseException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Questa classe rappresenta il Main dell'applicazione dalla quale si avvieranno le procedure per la gestione dell'utente e del catalogo.
|
||||||
|
*
|
||||||
|
* @author Simone Argenziano e Giovanni Di Grezia
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class Main2 {
|
||||||
|
|
||||||
|
public static void main(String[] args) throws FileNotFoundException,IOException,ClassNotFoundException, ParseException {
|
||||||
|
|
||||||
|
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(),login.getUsername(),r);
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user