<commit_before>package me.izstas.rfs.client;

import javax.swing.JFrame;
import javax.swing.UIManager;

import me.izstas.rfs.client.rfs.Rfs;
import me.izstas.rfs.client.ui.ServerForm;

public class RfsClient {
    public static void main(String[] args) {
        new PreInitializationThread().start();

        try {
            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        }
        catch (Exception e) {
            // Should not really hurt, but we probably want to handle it properly later
        }

        JFrame frame = ServerForm.createFrame();
        frame.setVisible(true);
    }


    private static final class PreInitializationThread extends Thread {<commit_msg>And here goes new launching code for SWT<commit_after>package me.izstas.rfs.client;

import org.eclipse.swt.widgets.Display;

import me.izstas.rfs.client.rfs.Rfs;
import me.izstas.rfs.client.ui.MainWindow;

public class RfsClient {
    public static void main(String[] args) {
        new PreInitializationThread().start();

        Display display = new Display();

        MainWindow window = new MainWindow();
        window.setBlockOnOpen(true);
        window.open();

        display.dispose();
    }


    private static final class PreInitializationThread extends Thread {
{'fraction_non_alphanumeric': 0.09464701318851823, 'fraction_numerical': 0.0, 'mean_word_length': 3.043887147335423, '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': '6199097', 'n_tokens_mistral': 381, 'n_tokens_neox': 375, 'n_words': 92}