<commit_before>package com.mercury.platform.ui.components.panel.settings;

import com.mercury.platform.ui.components.fields.font.FontStyle;
import com.mercury.platform.ui.components.panel.misc.HasUI;
import com.mercury.platform.ui.misc.AppThemeColor;

import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;

/**
 * Created by Константин on 05.01.2017.
 */
public class AboutPanel extends ConfigurationPanel implements HasUI {
    public AboutPanel() {
        super();
        createUI();
    }

    @Override
    public void processAndSave() {

    }

    @Override
    public void createUI() {
        JButton donate = componentsFactory.getIconifiedTransparentButton("app/paypal.png","Donate");
        donate.setBackground(AppThemeColor.SLIDE_BG);
        donate.addMouseListener(new MouseAdapter() {
            @Override
            public void mousePressed(MouseEvent e) {
                try {
                    Desktop.getDesktop().browse(new URI("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=HJVSYP4YR7V88&lc=US&item_name=MercuryTrade&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted"));
                } catch (IOException e1) {
                    e1.printStackTrace();
                } catch (URISyntaxException e1) {
                    e1.printStackTrace();
                }
            }
        });
        this.add(donate);
        this.add(componentsFactory.getTextLabel("About program and contacts here."));
        this.add(componentsFactory.getTextField("TYPE HERE", FontStyle.BOLD,16));
    }

    @Override
    protected LayoutManager getPanelLayout() {
        return new FlowLayout(FlowLayout.LEFT);
    }
}<commit_msg>better English clarity; minor improvements;<commit_after>package com.mercury.platform.ui.components.panel.settings;

import com.mercury.platform.ui.components.fields.font.FontStyle;
import com.mercury.platform.ui.components.panel.misc.HasUI;
import com.mercury.platform.ui.misc.AppThemeColor;

import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;

/**
 * Created by Константин on 05.01.2017.
 */
public class AboutPanel extends ConfigurationPanel implements HasUI {
    public AboutPanel() {
        super();
        createUI();
    }

    @Override
    public void processAndSave() {

    }

    @Override
    public void createUI() {
        JButton donate = componentsFactory.getIconifiedTransparentButton("app/paypal.png","Donate");
        donate.setBackground(AppThemeColor.SLIDE_BG);
        donate.addMouseListener(new MouseAdapter() {
            @Override
            public void mousePressed(MouseEvent e) {
                try {
                    Desktop.getDesktop().browse(new URI("https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=HJVSYP4YR7V88&lc=US&item_name=MercuryTrade&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted"));
                } catch (IOException e1) {
                    e1.printStackTrace();
                } catch (URISyntaxException e1) {
                    e1.printStackTrace();
                }
            }
        });
        this.add(donate);
        // shit's not working PLZ FIX
        //this.add(componentsFactory.getTextLabel("About"));
        this.add(componentsFactory.getTextField("We aimed to create an easy-to-use application to provide a very specific convenience tool, primarily for trading. If MercuryTrader successfully managed to save your time or improve your experience, you can thank us by donating or just telling your friends!", FontStyle.BOLD,13));
        this.add(componentsFactory.getTextField("If not, please leave your feedback and suggestions at MercuryTrader<EMAIL>", FontStyle.BOLD,13));
    }

    @Override
    protected LayoutManager getPanelLayout() {
        return new FlowLayout(FlowLayout.LEFT);
    }
}
{'fraction_non_alphanumeric': 0.10704706169227018, 'fraction_numerical': 0.011216776396000975, 'mean_word_length': 3.0097751710654936, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '423351', 'n_tokens_mistral': 1221, 'n_tokens_neox': 1172, 'n_words': 222}