<commit_before>import java.awt.Color;
import java.awt.Container;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JProgressBar;

/**
 * Class which controls all the graphical components of the application. Builds a GUI out of Java
 * components, styles all necessary components by setting instance variables, provides access to the
 * controls for the translation, and shows data about the status of a currently running translation
 * and the finished translation.
 * 
 * @author <NAME>
 * @version 1.0.1
 */
public class Display extends JFrame {

  /**
   * Auto-generated serialization Id.
   */
  private static final long serialVersionUID = 3366543860445759856L;

  private Translator translator;

  private JPanel mainPanel;

  private JLabel inputTextField;
  private JLabel outputTextField;
  private JLabel timeElapsedField;

  private JProgressBar convertProgressBar;
  private JProgressBar normalizeProgressBar;
  private JProgressBar outputProgressBar;

  /**
   * Main constructor for Display class. Builds GUI from Java components. Sets click listeners for
   * all buttons.<commit_msg>Bumps version for Display class<commit_after>import java.awt.Color;
import java.awt.Container;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import javax.swing.JButton;
import javax.swing.JFileChooser;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JProgressBar;

/**
 * Class which controls all the graphical components of the application. Builds a GUI out of Java
 * components, styles all necessary components by setting instance variables, provides access to the
 * controls for the translation, and shows data about the status of a currently running translation
 * and the finished translation.
 * 
 * @author <NAME>
 * @version 1.0.2
 */
public class Display extends JFrame {

  /**
   * Auto-generated serialization Id.
   */
  private static final long serialVersionUID = 3366543860445759856L;

  private Translator translator;

  private JPanel mainPanel;

  private JLabel inputTextField;
  private JLabel outputTextField;
  private JLabel timeElapsedField;

  private JProgressBar convertProgressBar;
  private JProgressBar normalizeProgressBar;
  private JProgressBar outputProgressBar;

  /**
   * Main constructor for Display class. Builds GUI from Java components. Sets click listeners for
   * all buttons.
{'fraction_non_alphanumeric': 0.0686482661004954, 'fraction_numerical': 0.01556970983722576, 'mean_word_length': 4.734279918864098, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7102511', 'n_tokens_mistral': 797, 'n_tokens_neox': 740, 'n_words': 271}