<commit_before>package com.ClassifierTraining;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.*;

@SuppressWarnings("serial")
public class Screen extends JPanel {

	private JFrame frame;
	private Dimension dim = null;

	public Screen() {
		frame = new JFrame();
		frame.setTitle("UAV BCI Software");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
		this.setBackground(Color.WHITE);
		frame.add(this);
		frame.setVisible(true);
		dim = Toolkit.getDefaultToolkit().getScreenSize();

	}

	public void drawFixationCross(Graphics g) {
		Graphics2D g2 = (Graphics2D) g;
		g2.setStroke(new BasicStroke(3));
		g2.drawLine(dim.width / 2 - 20, dim.height / 2, dim.width / 2 + 20,
				dim.height / 2);
		g2.drawLine(dim.width / 2, dim.height / 2 - 20, dim.width / 2,
				dim.height / 2 + 20);
	}

	public void drawCueImage(Graphics g, String cue) {
		BufferedImage img = null;
		if (cue.equalsIgnoreCase("house")) {
			try {
				img = ImageIO.read(new File("Images/house.png"));<commit_msg>Updated comments<commit_after>package com.ClassifierTraining;

import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Toolkit;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;
import javax.swing.*;

@SuppressWarnings("serial")
public class Screen extends JPanel {

	private JFrame frame;
	private Dimension dim = null;
	//comments zijn een beetje overrated
	public Screen() {
		frame = new JFrame();
		frame.setTitle("UAV BCI Software");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
		this.setBackground(Color.WHITE);
		frame.add(this);
		frame.setVisible(true);
		dim = Toolkit.getDefaultToolkit().getScreenSize();

	}

	public void drawFixationCross(Graphics g) {
		Graphics2D g2 = (Graphics2D) g;
		g2.setStroke(new BasicStroke(3));
		g2.drawLine(dim.width / 2 - 20, dim.height / 2, dim.width / 2 + 20,
				dim.height / 2);
		g2.drawLine(dim.width / 2, dim.height / 2 - 20, dim.width / 2,
				dim.height / 2 + 20);
	}

	public void drawCueImage(Graphics g, String cue) {
		BufferedImage img = null;
		if (cue.equalsIgnoreCase("house")) {
			try {
				img = ImageIO.read(new File("Images/house.png"));
{'fraction_non_alphanumeric': 0.12951807228915663, 'fraction_numerical': 0.018072289156626505, 'mean_word_length': 4.346076458752515, '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': '2493014', 'n_tokens_mistral': 1012, 'n_tokens_neox': 919, 'n_words': 203}