<commit_before>package com.adrienbrault.jastermind.client.ui;

import com.adrienbrault.jastermind.model.CodePeg;

import javax.swing.*;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author: adrienbrault
 * @Date: 04/06/11 16:33
 */
public class CodePegChoicesPanel extends JPanel {

    protected PegPanel[] pegPanels = new PegPanel[CodePeg.values().length];

    CodePegChoicesPanel() {
        JPanel container = new JPanel();
        for (int i=0; i<CodePeg.values().length; i++) {
            this.pegPanels[i] = new CodePegPanel(CodePeg.values()[i]);
System.out.println(this.pegPanels[i].getPreferredSize());
            container.add(this.pegPanels[i]);
        }
        this.add(container);
    }

    public PegPanel[] getPegPanels() {
        return pegPanels;
    }
}<commit_msg>Update UI choices<commit_after>package com.adrienbrault.jastermind.client.ui;

import com.adrienbrault.jastermind.model.CodePeg;

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

/**
 * Created by IntelliJ IDEA.
 *
 * @Author: adrienbrault
 * @Date: 04/06/11 16:33
 */
public class CodePegChoicesPanel extends JPanel {

    protected PegPanel[] pegPanels = new PegPanel[CodePeg.values().length];

    CodePegChoicesPanel() {
        this.setBorder(BorderFactory.createLineBorder(Color.black,  2)); // 2px black border;
        this.setBackground(new Color(160, 82, 45)); // Brown.

        JPanel container = new JPanel();
        this.add(container);
        container.setBackground(this.getBackground());

        for (int i=0; i<CodePeg.values().length; i++) {
            this.pegPanels[i] = new CodePegPanel(CodePeg.values()[i]);

            container.add(this.pegPanels[i]);
        }
    }

    public PegPanel[] getPegPanels() {
        return pegPanels;
    }
}
{'fraction_non_alphanumeric': 0.1377930245854774, 'fraction_numerical': 0.017724413950829045, 'mean_word_length': 3.1273584905660377, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2892622', 'n_tokens_mistral': 613, 'n_tokens_neox': 575, 'n_words': 106}