/** Contructor */ Application() { // inicalizes the lists users = new PersonList("Pessoas.dat", Person.PersonTypes.USER); techs = new PersonList("Pessoas.dat", Person.PersonTypes.WORKER); posts = new StationList("Postos_trab.dat"); tickets = new TicketList("Pedidos.txt", "Intervencoes.txt", users, techs, posts); // loads files posts.loadFile(); users.loadFile(); techs.loadFile(); tickets.loadFile(); }