private void btn_lintDeleteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_lintDeleteActionPerformed
        // TODO add your handling code here:
        if (lintProjectDir == null || !lintProjectDir.exists()) {
            //Warning user!!!
//            Panel1.projectDir = new File(LintScanner.PROJECT_HOME);
            return;
        }
//        if (lintSaveDir == null || !lintSaveDir.exists()) {
//            //Warning user!!!
////            lintSaveDir = new File(LintScanner.LINT_HOME);
//            return;
//        }
        File resultTmpFile = new File(lintProjectDir, "lint_result.xml");
        if (!resultTmpFile.exists()) {
            try {
                resultTmpFile.createNewFile();
            } catch (IOException ex) {
                Logger.getLogger(Panel2.class.getName()).log(Level.SEVERE, null, ex);
                return;
            }
        }
        if (lintScanner == null) {
            lintScanner = new LintScanner(jTextArea2,lintSaveDir);
        }
        jTextArea2.setText("");
        FutureTask<String> t = lintScanner.executeCmdCommand(
                "cmd /c "
                + "lint " + lintProjectDir.getAbsolutePath() + " --check UnusedResources,IconDuplicates,IconDuplicatesConfig --xml "
                + resultTmpFile.getAbsolutePath()
        );
        try {
            if (t.get().equals("success")) {
                System.out.println("!!!!!!!!!!!!!!!!!!!! sucessful!");
                lintScanner.deleteUnusedResources(lintScanner.parseXMLUseJDOM(resultTmpFile.getAbsolutePath()), lintProjectDir);
            }
        } catch (InterruptedException | ExecutionException e) {
            e.printStackTrace();
        }
    }//GEN-LAST:event_btn_lintDeleteActionPerformed