<commit_before>package mainFiles;

import java.awt.Color;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.InputMismatchException;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.border.Border;




/**
 * @author <NAME>
 * @version 0.6.0
 *
 */
public class MainClass extends JFrame
{
	/**
	 * 
	 */
	public String version = "0.6.0";
	private static final long serialVersionUID = 89L;
	protected final int MAX_X = 620;
	protected final int MAX_Y = 400;
	private final String newLine = "\n";
	protected JPanel lowerPanel;//used to contain the buttons for the lower section
	protected JTextField messageInput;
	protected JButton sendInputButton;
	protected JTextArea chatLog;
	protected JScrollPane scrollypolly;
	protected String lastUserInput;
	protected boolean newInput = false;
	//This is a special string that indicates that we do not have new input
	protected String noInputString = "#$%NO%$#";//This is a weird sequence of characters so that way we know a user didnt type it
	protected Color forgroundColor = new Color(255, 247, 74);
	//past colors: 73, 228, 241, a shade of cyna
	protected Font font = new Font("Verdana", Font.PLAIN, 12);//setting the font size and style
	protected Color backgroundColor = Color.black;
	
//	protected ResisterCalc rco;
//	protected DiceCalc dicecal;
	//####
	protected ProcessCommands theCommands = new ProcessCommands(this);//this is needed 
	/*
	 * These are the strings that determine the names of certain components 
	 * in the GUI
	 */
	protected String name_Button1 = "Enter";
	protected String name_JPane_Title = "Multi tool";
	protected Thread commandThread = new Thread(theCommands);

	/**
	 * This constructor will draw the console and run the initilizing functions.
	 * Then it will run the command thread 
	 */
	public MainClass()
	{
		this.setSize(MAX_X, MAX_Y);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setResizable(false);
		this.setTitle(name_JPane_Title);
		this.setVisible(true);
		this.setBackground(backgroundColor);
		//This is used when the user presses the enter key to grab input
		
		//setting up the fields that will be used to declare the other JComponents
		initComponents();<commit_msg>Changed the title of the JFrame<commit_after>package mainFiles;

import java.awt.Color;
import java.awt.Font;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.InputMismatchException;

import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.border.Border;




/**
 * @author <NAME>
 * @version 0.6.0
 *
 */
public class MainClass extends JFrame
{
	/**
	 * 
	 */
	public String version = "0.6.0";
	private static final long serialVersionUID = 89L;
	protected final int MAX_X = 620;
	protected final int MAX_Y = 400;
	private final String newLine = "\n";
	protected JPanel lowerPanel;//used to contain the buttons for the lower section
	protected JTextField messageInput;
	protected JButton sendInputButton;
	protected JTextArea chatLog;
	protected JScrollPane scrollypolly;
	protected String lastUserInput;
	protected boolean newInput = false;
	//This is a special string that indicates that we do not have new input
	protected String noInputString = "#$%NO%$#";//This is a weird sequence of characters so that way we know a user didnt type it
	protected Color forgroundColor = new Color(255, 247, 74);
	//past colors: 73, 228, 241, a shade of cyna
	protected Font font = new Font("Verdana", Font.PLAIN, 12);//setting the font size and style
	protected Color backgroundColor = Color.black;
	
//	protected ResisterCalc rco;
//	protected DiceCalc dicecal;
	//####
	protected ProcessCommands theCommands = new ProcessCommands(this);//this is needed 
	/*
	 * These are the strings that determine the names of certain components 
	 * in the GUI
	 */
	protected String name_Button1 = "Enter";
	protected String name_JPane_Title = "Graphical Console";
	protected Thread commandThread = new Thread(theCommands);

	/**
	 * This constructor will draw the console and run the initilizing functions.
	 * Then it will run the command thread 
	 */
	public MainClass()
	{
		this.setSize(MAX_X, MAX_Y);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setResizable(false);
		this.setTitle(name_JPane_Title);
		this.setVisible(true);
		this.setBackground(backgroundColor);
		//This is used when the user presses the enter key to grab input
		
		//setting up the fields that will be used to declare the other JComponents
		initComponents();
{'fraction_non_alphanumeric': 0.08898556456397073, 'fraction_numerical': 0.013051216136049041, 'mean_word_length': 4.497826086956522, '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': '243797', 'n_tokens_mistral': 1580, 'n_tokens_neox': 1471, 'n_words': 522}