<commit_before>package com.graphi.display;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JButton;
import javax.swing.JPanel;
import javax.swing.JSplitPane;

public class Layout extends JPanel
{
    private final ControlPanel controlPanel;
    private final ScreenPanel screenPanel;
    private final JSplitPane splitPane;
    
    public Layout()
    {
        setLayout(new BorderLayout());
        setPreferredSize(new Dimension(850, 650));
        
        controlPanel    =   new ControlPanel();
        screenPanel     =   new ScreenPanel();
        splitPane       =   new JSplitPane();
        
        splitPane.setLeftComponent(screenPanel);
        splitPane.setRightComponent(controlPanel);
        add(splitPane, BorderLayout.CENTER);
    }
    
    private class ControlPanel extends JPanel
    {
        public ControlPanel()
        {
            setPreferredSize(new Dimension(250, 1));
            setBackground(Color.LIGHT_GRAY);
        }
    }
    
    private class ScreenPanel extends JPanel
    {
        public ScreenPanel()
        {
            add(new JButton("Butt"));
        }
    }
}<commit_msg>Updated Layout with Graph and Control panels<commit_after>package com.graphi.display;

import com.graphi.test.GraphTest;
import edu.uci.ics.jung.visualization.VisualizationViewer;
import java.awt.BorderLayout;
import java.awt.CardLayout;
import java.awt.Color;
import java.awt.Dimension;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JTabbedPane;

public class Layout extends JPanel
{
    private final ControlPanel controlPanel;
    private final ScreenPanel screenPanel;
    private final JSplitPane splitPane;
    
    public Layout()
    {
        setLayout(new BorderLayout());
        setPreferredSize(new Dimension(900, 650));
        
        controlPanel    =   new ControlPanel();
        screenPanel     =   new ScreenPanel();
        splitPane       =   new JSplitPane();
        
        splitPane.setLeftComponent(screenPanel);
        splitPane.setRightComponent(controlPanel); 
        splitPane.setResizeWeight(0.7);
        controlPanel.setMinimumSize(new Dimension(230, 650));
        add(splitPane, BorderLayout.CENTER);
    }
    
    private class ControlPanel extends JPanel
    {
        public ControlPanel()
        {
            setBackground(Color.WHITE);
        }
    }
    
    private class ScreenPanel extends JPanel
    {
        private final DataPanel dataPanel;
        private final GraphPanel graphPanel;
        private final JTabbedPane tabPane;
        
        public ScreenPanel()
        {            
            setLayout(new BorderLayout());
            tabPane     =   new JTabbedPane();
            dataPanel   =   new DataPanel();
            graphPanel  =   new GraphPanel();
            
            
            tabPane.addTab("Display", graphPanel);
            tabPane.addTab("Data", dataPanel);
            add(tabPane);
        }
        
        private class DataPanel extends JPanel
        {
            public DataPanel()
            {
                
            }
        }
        
        private class GraphPanel extends JPanel
        {
            private VisualizationViewer visViewer;
            public GraphPanel()
            {
                setLayout(new CardLayout());
                visViewer   =   GraphTest.getGraph();
                visViewer.setBackground(Color.WHITE);
                add(visViewer, "Test");
                CardLayout cLayout  =   (CardLayout) getLayout();
                cLayout.show(this, "Test");
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.08002192381474377, 'fraction_numerical': 0.006577144423129624, 'mean_word_length': 1.9459241323648104, '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': '3292060', 'n_tokens_mistral': 982, 'n_tokens_neox': 951, 'n_words': 211}