public void actionPerformed(ActionEvent e) {
        if (app.getModel().getActiveProject() != null) {
            int choose = JOptionPane.showConfirmDialog(null, AppManager.getResources().getString("mainmenubar.deleteprojectaction.label_deleteconfirm") + app.getModel().getActiveProject().getText() + "?");
            if (choose == JOptionPane.YES_OPTION) {
                File file = new File(app.getModel().getDatabasePath() + app.getModel().getActiveProject().getFileName());
                if (file.exists() && file.delete()){
                    app.getView().reloadProject();
                    app.getModel().setActiveCanvas(null);
                }
            }
        }else{
            JOptionPane.showMessageDialog(null, AppManager.getResources().getString("mainmenubar.deleteprojectaction.label_noactiveproject"));
        }
    }