@Override
    public void actionPerformed(ActionEvent e) {
        ProjectAdapter projectadapter = App.getProject();
        Project project = projectadapter.getProject();
        if (project == null) {
            return;
        }

        try {
            Main main = new Main();
            main.generate(project);
        } catch (ClassNotFoundException | IOException | ProjectFormatException err) {
            System.out.println(err);
        }
    }