<commit_before>package controller.view;

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;


public class InitFrame extends JFrame {
	
	private static final long serialVersionUID = 669534362216231577L;

	private IInitModelAdapter model;
	
	JPanel jPanel1 = new JPanel();
	JTextField nRowsTF = new JTextField("8");
	JTextField nColsTF = new JTextField("8");
	JPanel jPanel2 = new JPanel();
	JLabel jLabel2 = new JLabel("rows, cols:");

	JLabel jLabel3 = new JLabel("Max. turn time (s):");
	JTextField maxTurnTimeTF = new JTextField("60");
	private final JButton btnMakeGamegrid = new JButton("Make GameGrid!");

	public InitFrame(int closeOp, IInitModelAdapter model) {
		this.model = model;
		this.setDefaultCloseOperation(closeOp);
		initGUI();
	}

	private void initGUI()  {
		this.setSize(new Dimension(560, 188));
		nRowsTF.setPreferredSize(new Dimension(50, 21));
		nColsTF.setPreferredSize(new Dimension(50, 21));

		maxTurnTimeTF.setPreferredSize(new Dimension(30, 21));
		this.getContentPane().add(jPanel1, BorderLayout.NORTH);
		jPanel1.add(jLabel2, null);
		jPanel1.add(nRowsTF, null);
		jPanel1.add(nColsTF, null);
		jPanel1.add(jLabel3, null);
		jPanel1.add(maxTurnTimeTF, null);
		this.getContentPane().add(jPanel2, BorderLayout.CENTER);
		btnMakeGamegrid.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				model.makeGameGrid(<commit_msg>Changed base grid to 3x3.<commit_after>package controller.view;

import java.awt.*;
import javax.swing.*;
import java.awt.event.*;


public class InitFrame extends JFrame {
	
	private static final long serialVersionUID = 669534362216231577L;

	private IInitModelAdapter model;
	
	JPanel jPanel1 = new JPanel();
	JTextField nRowsTF = new JTextField("3");
	JTextField nColsTF = new JTextField("3");
	JPanel jPanel2 = new JPanel();
	JLabel jLabel2 = new JLabel("rows, cols:");

	JLabel jLabel3 = new JLabel("Max. turn time (s):");
	JTextField maxTurnTimeTF = new JTextField("60");
	private final JButton btnMakeGamegrid = new JButton("Make GameGrid!");

	public InitFrame(int closeOp, IInitModelAdapter model) {
		this.model = model;
		this.setDefaultCloseOperation(closeOp);
		initGUI();
	}

	private void initGUI()  {
		this.setSize(new Dimension(560, 188));
		nRowsTF.setPreferredSize(new Dimension(50, 21));
		nColsTF.setPreferredSize(new Dimension(50, 21));

		maxTurnTimeTF.setPreferredSize(new Dimension(30, 21));
		this.getContentPane().add(jPanel1, BorderLayout.NORTH);
		jPanel1.add(jLabel2, null);
		jPanel1.add(nRowsTF, null);
		jPanel1.add(nColsTF, null);
		jPanel1.add(jLabel3, null);
		jPanel1.add(maxTurnTimeTF, null);
		this.getContentPane().add(jPanel2, BorderLayout.CENTER);
		btnMakeGamegrid.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				model.makeGameGrid(
{'fraction_non_alphanumeric': 0.12165021156558534, 'fraction_numerical': 0.038787023977433006, 'mean_word_length': 5.597674418604651, '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': '5267387', 'n_tokens_mistral': 1078, 'n_tokens_neox': 959, 'n_words': 215}