Work on Region, RegionView, countries.csv, Country
[Persons_Comparator.git] / src / RegionView.java
index 0f2f8cc790283382e722909e0552095c22fdc623..1a28f5a3c5100d0826619f3717def39b197c7493 100644 (file)
@@ -1,2 +1,17 @@
-public class RegionView {
+import javax.swing.*;
+
+public class RegionView extends JPanel {
+    private Region regionObj;
+    private JLabel label;
+
+    RegionView(Region regionObj) {
+        setRegionObj(regionObj);
+        this.label = new JLabel();
+        this.label.setText("Region");
+    }
+
+    public void setRegionObj(Region regionObj) {
+        this.regionObj = regionObj;
+
+    }
 }