<commit_before>package org.reprap.gui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;

import javax.swing.JFrame;
import javax.swing.JTextPane;
import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class StatusMessage extends javax.swing.JDialog {
	private boolean cancelRequested = false;
	private JButton cancelButton;
	private JTextPane message;

	/**
	* Auto-generated main method to display this JDialog
	*/
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		StatusMessage inst = new StatusMessage(frame);
		inst.setVisible(true);
	}
	
	public StatusMessage(JFrame frame) {
		super(frame);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				message = new JTextPane();
				getContentPane().add(message);
				message.setBounds(0, 0, 280, 77);
				message.setEditable(false);
				message.setBackground(getBackground());
				message.setEnabled(false);
				SimpleAttributeSet set = new SimpleAttributeSet();
				StyleConstants.setAlignment(set, StyleConstants.ALIGN_CENTER);
				message.setParagraphAttributes(set, true);			}
			{
				cancelButton = new JButton();
				getContentPane().add(cancelButton);
				cancelButton.setText("Cancel");
				cancelButton.setBounds(105, 84, 91, 28);
				cancelButton.addActionListener(new ActionListener() {
					public void actionPerformed(ActionEvent evt) {
						cancelButtonActionPerformed(evt);
					}
				});
			}
			
			{
					getContentPane().setLayout(null);
			}
			{
				this.setTitle("Progress");
			}
			this.setSize(288, 137);
		} catch (Exception e) {<commit_msg>Changed colours of status window to yellow on blue, so text is readable. JM.<commit_after>package org.reprap.gui;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;

import javax.swing.JFrame;
import javax.swing.JTextPane;
import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class StatusMessage extends javax.swing.JDialog {
	private boolean cancelRequested = false;
	private JButton cancelButton;
	private JTextPane message;

	/**
	* Auto-generated main method to display this JDialog
	*/
	public static void main(String[] args) {
		JFrame frame = new JFrame();
		StatusMessage inst = new StatusMessage(frame);
		inst.setVisible(true);
	}
	
	public StatusMessage(JFrame frame) {
		super(frame);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				message = new JTextPane();
				getContentPane().add(message);
				message.setBounds(0, 0, 280, 77);
				message.setEditable(false);
				message.setBackground(Color.blue);
				message.setForeground(Color.yellow);
				message.setEnabled(false);
				SimpleAttributeSet set = new SimpleAttributeSet();
				StyleConstants.setAlignment(set, StyleConstants.ALIGN_CENTER);
				message.setParagraphAttributes(set, true);			}
			{
				cancelButton = new JButton();
				getContentPane().add(cancelButton);
				cancelButton.setText("Cancel");
				cancelButton.setBounds(105, 84, 91, 28);
				cancelButton.addActionListener(new ActionListener() {
					public void actionPerformed(ActionEvent evt) {
						cancelButtonActionPerformed(evt);
					}
				});
			}
			
			{
					getContentPane().setLayout(null);
			}
			{
				this.setTitle("Progress");
			}
			this.setSize(288, 137);
		} catch (Exception e) {
{'fraction_non_alphanumeric': 0.09920983318700614, 'fraction_numerical': 0.009657594381035996, 'mean_word_length': 4.154977375565611, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6703832', 'n_tokens_mistral': 1617, 'n_tokens_neox': 1349, 'n_words': 394}