<commit_before>package Functions;
import javax.swing.*;
import javax.swing.border.*;

import Elements.Element;

import java.awt.*;

public class ElementPanel extends JPanel 
{
	private Element element;
	
	public ElementPanel(Element element)
	{
		this.element = element;
		if(element != null)
		{
			String name = element.getSymbol();
			if(element.getName().equals("Lanthanum"))
			{
				name = "*" + name;
			}
			if(element.getName().equals("Barium"))
			{
				name += "*";
			}
			if(element.getName().equals("Actinium"))
			{
				name = "**" + name;
			}
			if(element.getName().equals("Radium"))
			{
				name += "**";
			}
			
			add(new JLabel(name));
			setBorder(new CompoundBorder(new LineBorder(Color.BLACK, 1), new EmptyBorder(6, 6, 6, 6)));
		}
	}
	
	public Element getElement()
	{
		return element;
	}
}
<commit_msg>Revert "Revert "Made the  periodic table different""<commit_after>package Functions;
import javax.swing.*;
import javax.swing.border.*;

import Elements.Element;

import java.awt.*;

public class ElementPanel extends JPanel 
{
	private Element element;
	
	public ElementPanel(Element element)
	{
		this.element = element;
		if(element != null)
		{
			String name = element.getSymbol();
			if(element.getName().equals("Lanthanum"))
			{
				name = "*" + name;
			}
			if(element.getName().equals("Barium"))
			{
				name += "*";
			}
			if(element.getName().equals("Actinium"))
			{
				name = "**" + name;
			}
			if(element.getName().equals("Radium"))
			{
				name += "**";
			}
			
			this.setLayout(new GridBagLayout());
			GridBagConstraints c = new GridBagConstraints();
			c.ipady = -5;
			c.gridy = 0;
			add(new JLabel("" + element.getNum()), c);

			c.gridy = 1;
			add(new JLabel("<html><h3>" + name + "</h3></html>"), c);
			
			c.gridy = 2;
			c.ipady = 0;
			add(new JLabel("<html><font size=\"1\">" + element.getName() + "</font></html>"), c);
			
			setBorder(new CompoundBorder(new LineBorder(Color.BLACK, 1), new EmptyBorder(3, 3, 3, 3)));
			
			/*add(new JLabel("<html>" + element.getNum() + "<br><center><h1>" + name + "</h1><br>" + element.getName() + "</center></html>"));
			setBorder(new CompoundBorder(new LineBorder(Color.BLACK, 1), new EmptyBorder(6, 6, 6, 6)));
			setSize(50, 50);*/
		}
	}
	
	public Element getElement()
	{
		return element;
	}
}

{'fraction_non_alphanumeric': 0.18804159445407279, 'fraction_numerical': 0.012564991334488735, 'mean_word_length': 3.3648393194706996, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '6936805', 'n_tokens_mistral': 969, 'n_tokens_neox': 796, 'n_words': 162}