Properly add all view JComponents to the JPanel in the main JFrame.
[Persons_Comparator.git] / src / OriginView.java
index 58dec5d18477301742624be2325ca961576eca92..2fc4189df734149123d81aba4f2ed3a0c491190e 100644 (file)
@@ -1,6 +1,11 @@
-public class OriginView {
+import javax.swing.*;
+
+public class OriginView extends JComponent {
     private Origin originObj;
 
+    OriginView() {
+    }
+
     OriginView(Origin originObj) {
         setOriginObj(originObj);
     }