if (closeProjectHook(getCurrentProject(), "Close project")) {
if (closeProjectHook(getCurrentProject(), "Close Project")) {
    private void closeProjectItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_closeProjectItemActionPerformed        if (closeProjectHook(getCurrentProject(), "Close project")) {            setProject(null);        }    }//GEN-LAST:event_closeProjectItemActionPerformed