<commit_before>package eg.ui.projectsetting;

import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTabbedPane;
import javax.swing.WindowConstants;

import java.awt.Component;
import java.awt.EventQueue;
import java.awt.FlowLayout;
import java.awt.Dimension;
import java.awt.event.ActionListener;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.WindowAdapter;

import javax.swing.event.ChangeEvent;

import java.io.File;

import java.util.List;

//--Eadgyth--//
import eg.BusyFunction;
import eg.FileChooser;
import eg.ui.IconFiles;
import eg.utils.ScreenParams;

/**
 * The window with input options to configure a programming project
 */
public class SettingsWindow {

   private static final Dimension DIM_TF = ScreenParams.scaledDimension(200, 14);
   private static final Dimension DIM_TF_LONG = ScreenParams.scaledDimension(300, 14);
   private static final Dimension DIM_VERT_SPACER = ScreenParams.scaledDimension(0, 14);
   private static final Dimension DIM_RIGHT_SPACER = ScreenParams.scaledDimension(28, 14);

   private static FileChooser chooser = new FileChooser();

   private final JFrame     frame            = new JFrame("Project settings");
   private final JTextField projDirTf        = new JTextField();
   private final JTextField fileTf           = new JTextField();
   private final JTextField customCmdTf      = new JTextField();
   private final JTextField sourcesDirTf     = new JTextField();
   private final JTextField execDirTf        = new JTextField();
   private final JTextField cmdArgsTf        = new JTextField();
   private final JTextField cmdOptionsTf     = new JTextField();
   private final JTextField compileOptionsTf = new JTextField();
   private final JTextField extensionsTf     = new JTextField();
   private final JTextField buildNameTf      = new JTextField();
   private final JButton    okBt             = new JButton("   OK   ");
   private final JButton    cancelBt         = new JButton("Cancel");
   private final JCheckBox  saveConfigBx     = new JCheckBox();<commit_msg>Update SettingsWindow.java<commit_after>package eg.ui.projectsetting;

import javax.swing.BorderFactory;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.JCheckBox;
import javax.swing.JFrame;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JLabel;
import javax.swing.JTabbedPane;
import javax.swing.WindowConstants;

import java.awt.Component;
import java.awt.EventQueue;
import java.awt.FlowLayout;
import java.awt.Dimension;
import java.awt.event.ActionListener;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.WindowAdapter;

import javax.swing.event.ChangeEvent;

import java.io.File;

import java.util.List;

//--Eadgyth--//
import eg.BusyFunction;
import eg.FileChooser;
import eg.ui.IconFiles;
import eg.utils.ScreenParams;

/**
 * The window with input options to configure a programming project
 */
public class SettingsWindow {

   private static final Dimension DIM_TF = ScreenParams.scaledDimension(220, 14);
   private static final Dimension DIM_TF_LONG = ScreenParams.scaledDimension(300, 14);
   private static final Dimension DIM_VERT_SPACER = ScreenParams.scaledDimension(0, 14);
   private static final Dimension DIM_RIGHT_SPACER = ScreenParams.scaledDimension(28, 14);

   private static FileChooser chooser = new FileChooser();

   private final JFrame     frame            = new JFrame("Project settings");
   private final JTextField projDirTf        = new JTextField();
   private final JTextField fileTf           = new JTextField();
   private final JTextField customCmdTf      = new JTextField();
   private final JTextField sourcesDirTf     = new JTextField();
   private final JTextField execDirTf        = new JTextField();
   private final JTextField cmdArgsTf        = new JTextField();
   private final JTextField cmdOptionsTf     = new JTextField();
   private final JTextField compileOptionsTf = new JTextField();
   private final JTextField extensionsTf     = new JTextField();
   private final JTextField buildNameTf      = new JTextField();
   private final JButton    okBt             = new JButton("   OK   ");
   private final JButton    cancelBt         = new JButton("Cancel");
   private final JCheckBox  saveConfigBx     = new JCheckBox();
{'fraction_non_alphanumeric': 0.08364110362806865, 'fraction_numerical': 0.007386487073647621, 'mean_word_length': 4.053787047200879, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4323024', 'n_tokens_mistral': 1329, 'n_tokens_neox': 1300, 'n_words': 376}