private void saveAllButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_saveAllButtonActionPerformed
        for (int i = 0; i < tabs.getTabCount(); i++) {
            SimPanel t = (SimPanel) tabs.getComponentAt(i);
            if (t.isModified()) {
                t.save(false);
            }
        }
        try {
            saveProjectConf(getWork());
        } catch (IOException ex) {
            Main.logger.log(Level.SEVERE, "Error", ex);
            ex.printStackTrace(System.err);
        }
}//GEN-LAST:event_saveAllButtonActionPerformed