<commit_before>/*
 * PotPanel.java
 *
 * Created on September 21, 2005, 11:18 AM
 */
package ch.unizh.ini.caviar.biasgen;
import java.awt.*;
import java.awt.Point;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.util.*;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import javax.swing.table.*;
/**
 * Panel for controlling a chip's set of Pots over a HardwareInterface.
 * @author  tobi
 */
public class PotPanel extends javax.swing.JPanel implements FocusListener {
    public PotArray pots=null;
    BiasgenFrame frame;
    JScrollPane scrollPane=null;
    JPanel potsPanel;
    ArrayList<Pot> potList;
    ArrayList<JComponent> componentList;
    final Border selectedBorder=new LineBorder(Color.red), unselectedBorder=null; // new EmptyBorder(1,1,1,1);
    /**
     * Creates new form PotPanel
     */
    public PotPanel(PotArray ipotArray, BiasgenFrame frame) {
        this.frame=frame;
        pots=ipotArray;<commit_msg>changed to blue thick border which looks better<commit_after>/*
 * PotPanel.java
 *
 * Created on September 21, 2005, 11:18 AM
 */
package ch.unizh.ini.caviar.biasgen;
import java.awt.*;
import java.awt.Point;
import java.awt.event.FocusEvent;
import java.awt.event.FocusListener;
import java.util.*;
import javax.swing.*;
import javax.swing.border.Border;
import javax.swing.border.EmptyBorder;
import javax.swing.border.LineBorder;
import javax.swing.table.*;
/**
 * Panel for controlling a chip's set of Pots over a HardwareInterface.
 * @author  tobi
 */
public class PotPanel extends javax.swing.JPanel implements FocusListener {
    public PotArray pots=null;
    BiasgenFrame frame;
    JScrollPane scrollPane=null;
    JPanel potsPanel;
    ArrayList<Pot> potList;
    ArrayList<JComponent> componentList;
    final Border selectedBorder=new LineBorder(Color.blue, 3), unselectedBorder=null; // new EmptyBorder(1,1,1,1);
    /**
     * Creates new form PotPanel
     */
    public PotPanel(PotArray ipotArray, BiasgenFrame frame) {
        this.frame=frame;
        pots=ipotArray;
{'fraction_non_alphanumeric': 0.10700934579439253, 'fraction_numerical': 0.013551401869158878, 'mean_word_length': 4.014051522248243, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2549856', 'n_tokens_mistral': 681, 'n_tokens_neox': 642, 'n_words': 171}