<commit_before>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package livestreamerjfxgui;

import java.lang.reflect.InvocationTargetException;
import java.net.URL;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.prefs.BackingStoreException;
import java.util.prefs.Preferences;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.concurrent.*;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.ChoiceBox;
import javafx.scene.control.Label;
import javafx.scene.control.Separator;
import javafx.scene.paint.Color;
import javafx.stage.Modality;
import javax.swing.JOptionPane;
import libraries.WinRegistry;
/**
 *
 * @author huoni
 */
public class LivestreamerJFXGUIApp implements Initializable {
    
    @FXML
    private ChoiceBox<Channel> channelChoiceBox;
    @FXML
    private ChoiceBox streamChoiceBox;
    @FXML
    private Label labelMessage;
    @FXML
    private ChoiceBox playerChoiceBox;
    
    private Preferences prefs = Preferences.userNodeForPackage(this.getClass());
    
    /***
     * FXML event methods
     */
    
    @FXML
    private void addButton_OnAction(ActionEvent event) {
        Channel newChan = new Channel();
        
        if (editChannel(newChan)) {<commit_msg>Removed unused import<commit_after>/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package livestreamerjfxgui;

import java.lang.reflect.InvocationTargetException;
import java.net.URL;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.prefs.BackingStoreException;
import java.util.prefs.Preferences;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.collections.FXCollections;
import javafx.collections.ObservableList;
import javafx.concurrent.*;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.ChoiceBox;
import javafx.scene.control.Label;
import javafx.scene.control.Separator;
import javafx.scene.paint.Color;
import javafx.stage.Modality;
import libraries.WinRegistry;
/**
 *
 * @author huoni
 */
public class LivestreamerJFXGUIApp implements Initializable {
    
    @FXML
    private ChoiceBox<Channel> channelChoiceBox;
    @FXML
    private ChoiceBox streamChoiceBox;
    @FXML
    private Label labelMessage;
    @FXML
    private ChoiceBox playerChoiceBox;
    
    private Preferences prefs = Preferences.userNodeForPackage(this.getClass());
    
    /***
     * FXML event methods
     */
    
    @FXML
    private void addButton_OnAction(ActionEvent event) {
        Channel newChan = new Channel();
        
        if (editChannel(newChan)) {
{'fraction_non_alphanumeric': 0.08691646191646192, 'fraction_numerical': 0.0, 'mean_word_length': 4.2617124394184165, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '2361628', 'n_tokens_mistral': 948, 'n_tokens_neox': 947, 'n_words': 232}