Add some basic data for the Origin class and implement the associated view to allow...
[Persons_Comparator.git] / src / MainWindowsView.java
index 3fab8e02b774161fcce1767236b8fdc3f2e03e3c..58a37fb435f4a011af37a213a5adcdab9f9004c1 100644 (file)
@@ -11,7 +11,7 @@ public class MainWindowsView extends JFrame {
     MainWindowsView(String title, JPanel panel) {
         //Create and set up the window.
         setTitle(title);
-        setSize(300, 300);
+        setSize(400, 300);
         setLocationRelativeTo(null);
         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
 
@@ -34,7 +34,7 @@ public class MainWindowsView extends JFrame {
     /**
      * Create menu that support cut/copy/paste.
      */
-    public JMenuBar createMenuBar() {
+    private JMenuBar createMenuBar() {
         JMenuItem menuItem;
         JMenuBar menuBar = new JMenuBar();