private void btnStartActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnStartActionPerformed
//        nanoPosts.clear();
        tabs.setSelectedIndex(1);

        DefaultTableModel model = (DefaultTableModel) tableSync.getModel();
        int rows = model.getRowCount();
        for (int i = rows - 1; i >= 0; i--) {
            model.removeRow(i);
        }

        WorkerLocalSync wls = new WorkerLocalSync(this, edBoardCode.getText());
        wls.execute();

        for (Rule r : RulesManager.getInstance().getRulesList()) {
            if (r.isIsEnabled()) {
                WorkerExecuteRule wer = new WorkerExecuteRule(this, r);
                wer.execute();
            }
        }
    }//GEN-LAST:event_btnStartActionPerformed