<commit_before>package viewer;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Map;
import java.util.Random;

import javax.swing.AbstractAction;
import javax.swing.ButtonGroup;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JPanel;
import javax.swing.JRadioButtonMenuItem;
import javax.swing.JSplitPane;
import javax.swing.JTextArea;

import model.Turtle;

import controller.Controller;

/*
 * @author <NAME>
 * @author <NAME>
 */

public class AggregateViewer extends JFrame {

	private JFrame myFrame;
	private JSplitPane myPanel;
	private TurtleViewer myGame;
	private Controller myController;
	private Dimension TOTAL_SIZE = new Dimension(1200, 800);
	private Dimension TURTLE_SIZE = new Dimension(800, 600);
	private Dimension TEXT_OUTPUT_SIZE = new Dimension(400, 250);
	private Dimension PROGRAM_INPUT_SIZE = new Dimension(800, 300);
	private Dimension COMPUTATION_SIZE = new Dimension(400, 250);

	private Turtle myTurtle;

	public AggregateViewer(Controller controller) {
		//Basic instantiation
		myTurtle = new Turtle(0, 0);
		myController = controller;
		myPanel = new JSplitPane();
		setTitle("SLogo Turtle Simulator");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		
		JTextArea myCommands = new JTextArea(300, 100);
		JTextArea myOutput = new JTextArea(300, 100);
		myGame = new TurtleViewer(myTurtle, TURTLE_SIZE, this);
		TopLeftView textView = new TopLeftView(myCommands, myOutput);
		TextInputArea myTextInput = new TextInputArea(myController);
		LeftView myUpperView = new LeftView(textView, myTextInput);
		myPanel = new FullView(myUpperView, myGame);
		
		getContentPane().add(myPanel, BorderLayout.CENTER);<commit_msg>about to start view container<commit_after>package viewer;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.Map;
import java.util.Random;

import javax.swing.AbstractAction;
import javax.swing.ButtonGroup;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JPanel;
import javax.swing.JRadioButtonMenuItem;
import javax.swing.JSplitPane;
import javax.swing.JTextArea;

import model.Turtle;

import controller.Controller;

/*
 * @author <NAME>
 * @author <NAME>
 */
/**
 * 
 * @author katharinekrieger
 *
 */
public class AggregateViewer extends JFrame {

	private JFrame myFrame;
	private JSplitPane myPanel;
	private TurtleViewer myGame;
	private Controller myController;
	private Dimension TOTAL_SIZE = new Dimension(1200, 800);
	private Dimension TURTLE_SIZE = new Dimension(800, 600);
	private Dimension TEXT_OUTPUT_SIZE = new Dimension(400, 250);
	private Dimension PROGRAM_INPUT_SIZE = new Dimension(800, 300);
	private Dimension COMPUTATION_SIZE = new Dimension(400, 250);

	private Turtle myTurtle;


	public AggregateViewer(Controller controller) {
		//Basic instantiation
		myTurtle = new Turtle(0, 0);
		myController = controller;
		myPanel = new JSplitPane();
		setTitle("SLogo Turtle Simulator");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		
		JTextArea myCommands = new JTextArea(300, 100);
		JTextArea myOutput = new JTextArea(300, 100);
		myGame = new TurtleViewer(myTurtle, TURTLE_SIZE, this);
		TopLeftView textView = new TopLeftView(myCommands, myOutput);
		TextInputArea myTextInput = new TextInputArea(myController);
		LeftView myUpperView = new LeftView(textView, myTextInput);
		myPanel = new FullView(myUpperView, myGame);
		
		getContentPane().add(myPanel, BorderLayout.CENTER);
{'fraction_non_alphanumeric': 0.09400366588112072, 'fraction_numerical': 0.02356637863315004, 'mean_word_length': 5.73721340388007, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4099826', 'n_tokens_mistral': 1360, 'n_tokens_neox': 1219, 'n_words': 303}