Implement and modify to display JTree with countries
[Persons_Comparator.git] / src / Country.java
index 8b711084bb81e145f7ac8317a83cafdbd0c9b950..2bb786a2c33d92fb2d64eb9fe6302bc1472062f4 100644 (file)
@@ -16,6 +16,10 @@ public class Country {
         this.name = name;
     }
 
+    public String getName() {
+        return name;
+    }
+
     public void setRegion(String region) {
         this.region = region;
     }