package com.zelory.kace.adressbook;

import com.zelory.kace.adressbook.data.model.AddressBook;
import com.zelory.kace.adressbook.data.model.Person;
import com.zelory.kace.adressbook.ui.AddressBookFrame;
import com.zelory.kace.adressbook.util.RandomUtil;

public class Main {
    public static void main(String[] args) {
        AddressBook addressBook = new AddressBook();
        for (int i = 0; i < 300; i++) {
            Person person = new Person();
            person.setFirstName("Orang");
            person.setLastName("ke " + (i + 1));
            person.setAddress("Suatu tempat");
            person.setCity("Suatu kota");
            person.setState("Suatu negara");
            person.setZip(RandomUtil.getInstance().randomInt(1000, 9999) + "");
            addressBook.getPersons().add(person);
        }
        new AddressBookFrame(addressBook).setVisible(true);
    }
}

@@ -68,797 +68,124 @@
 ook.
-data.model.AddressBook;%0Aimport com.zelory.kace.adressbook.data.model.Person;%0Aimport com.zelory.kace.adressbook.ui.AddressBookFrame;%0Aimport com.zelory.kace.adressbook.util.RandomUtil;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        AddressBook addressBook = new AddressBook();%0A        for (int i = 0; i %3C 300; i++) %7B%0A            Person person = new Person();%0A            person.setFirstName(%22Orang%22);%0A            person.setLastName(%22ke %22 + (i + 1));%0A            person.setAddress(%22Suatu tempat%22);%0A            person.setCity(%22Suatu kota%22);%0A            person.setState(%22Suatu negara%22);%0A            person.setZip(RandomUtil.getInstance().randomInt(1000, 9999) + %22%22);%0A            addressBook.getPersons().add(person);%0A        %7D%0A        new AddressBookFrame(addressBook
+ui.AddressBookFrame;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        new AddressBookFrame(
 ).se

Remove dummy data