private void createMenu(){
        loadItem.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                final JFileChooser fc = new JFileChooser();
                int returnVal = fc.showOpenDialog(panel);
                if (returnVal == JFileChooser.APPROVE_OPTION){
                    propertyFile = fc.getSelectedFile();
                    loadProperties();
                }
            }
        });
        saveItem.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                saveProperties();
            }
        });
        saveAsItem.addActionListener(new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent e) {
                final JFileChooser fc = new JFileChooser();
                int returnVal = fc.showOpenDialog(panel);
                if (returnVal == JFileChooser.APPROVE_OPTION){
                    propertyFile = fc.getSelectedFile();
                    saveProperties();
                }
            }
        });

        menu.add(loadItem);
        menu.add(saveItem);
        menu.add(saveAsItem);
        menuBar.add(menu);

        setJMenuBar(menuBar);


    }