<commit_before>package gngh;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

/*
       //  Author: <NAME>
       //  Project GNGH
 */
public class ActionButtons extends JPanel
{

    //singleton declarations
    ActionHandler action;
    GUIHandler gui;
    //Left panel
    JPanel leftCol = new JPanel();
    JPanel leftInner = new JPanel();
    JButton[] actionButton = new JButton[40];
    JLabel actionsLabel = new JLabel("Actions");
    //Days Actions
    JPanel daysActions = new JPanel();
    JSlider dayIncriment = new JSlider();
    JButton dayStart = new JButton();
    JLabel dayDisplay = new JLabel();
    JButton plusDays = new JButton();
    JButton minusDays = new JButton();
    //Debug
    boolean debug = false;
    boolean dispFog = true;
    JPanel debugActions = new JPanel();
    JPanel debugHolder = new JPanel();
    JButton debugToggle = new JButton();
    JButton calculateLand = new JButton();
    JButton setBiome = new JButton();
    JButton toggleFog = new JButton();
    //distasteful palet here
    Color myGrey = new Color(225, 225, 225);
    Color background = new Color(100, 100, 100);
    Color panel = new Color(170, 170, 170);
    Color forest = new Color(0, 100, 0);
    Color desert = new Color(255, 209, 114);
    Dimension sideD = new Dimension(300, 15);
    Dimension rightSideD = new Dimension(290, 610);
    Dimension leftSideD = new Dimension(290, 460);
    Dimension debugInfoD = new Dimension(290, 150);
    Dimension sliderD = new Dimension(270, 35);
    Dimension debugD = new Dimension(290, 180);
    Dimension dayD = new Dimension(290, 100);

    public ActionButtons()
    {
        gui = GUIHandler.getInstance();
        action = ActionHandler.getInstance();
        setLayout(new BorderLayout());
        //main holder
        leftCol.setPreferredSize(sideD);
        leftCol.setBackground(background);
        add(leftCol, BorderLayout.LINE_START);
        //main heading
        actionsLabel.setFont(new Font("Arial", Font.BOLD, 20));
        leftCol.add(actionsLabel);
        //sub holder
        leftInner.setPreferredSize(leftSideD);
        leftInner.setBackground(panel);<commit_msg>ActionButtons initializes ButtonDisplayHandler<commit_after>package gngh;

import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;

/*
       //  Author: <NAME>
       //  Project GNGH
 */
public class ActionButtons extends JPanel
{

    //singleton declarations
    ActionHandler action;
    GUIHandler gui;
    //Left panel
    JPanel leftCol = new JPanel();
    JPanel leftInner = new JPanel();
    JButton[] actionButton = new JButton[40];
    JLabel actionsLabel = new JLabel("Actions");
    //Days Actions
    JPanel daysActions = new JPanel();
    JSlider dayIncriment = new JSlider();
    JButton dayStart = new JButton();
    JLabel dayDisplay = new JLabel();
    JButton plusDays = new JButton();
    JButton minusDays = new JButton();
    //Debug
    boolean debug = false;
    boolean dispFog = true;
    JPanel debugActions = new JPanel();
    JPanel debugHolder = new JPanel();
    JButton debugToggle = new JButton();
    JButton calculateLand = new JButton();
    JButton setBiome = new JButton();
    JButton toggleFog = new JButton();
    //distasteful palet here
    Color myGrey = new Color(225, 225, 225);
    Color background = new Color(100, 100, 100);
    Color panel = new Color(170, 170, 170);
    Color forest = new Color(0, 100, 0);
    Color desert = new Color(255, 209, 114);
    Dimension sideD = new Dimension(300, 15);
    Dimension rightSideD = new Dimension(290, 610);
    Dimension leftSideD = new Dimension(290, 460);
    Dimension debugInfoD = new Dimension(290, 150);
    Dimension sliderD = new Dimension(270, 35);
    Dimension debugD = new Dimension(290, 180);
    Dimension dayD = new Dimension(290, 100);

    public ActionButtons()
    {
        gui = GUIHandler.getInstance();
        action = ActionHandler.getInstance();
        gui.button().initialize(this);
        setLayout(new BorderLayout());
        //main holder
        leftCol.setPreferredSize(sideD);
        leftCol.setBackground(background);
        add(leftCol, BorderLayout.LINE_START);
        //main heading
        actionsLabel.setFont(new Font("Arial", Font.BOLD, 20));
        leftCol.add(actionsLabel);
        //sub holder
        leftInner.setPreferredSize(leftSideD);
        leftInner.setBackground(panel);
{'fraction_non_alphanumeric': 0.10836909871244635, 'fraction_numerical': 0.03648068669527897, 'mean_word_length': 3.08859649122807, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2732699', 'n_tokens_mistral': 1526, 'n_tokens_neox': 1359, 'n_words': 396}