<commit_before>package com.cloudskol.jfxskol;

import javafx.application.Application;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Pos;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
//        Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
        primaryStage.setTitle("Hello World");

        final VBox vBox = new VBox();
        vBox.setSpacing(10);
        renderUi(vBox);

        primaryStage.setScene(new Scene(vBox, 700, 400));
        primaryStage.show();
    }


    public static void main(String[] args) {
        launch(args);
    }

    private void renderUi(VBox container) {
        final HBox emailBox = new HBox();
        emailBox.setAlignment(Pos.CENTER_LEFT);
        emailBox.getChildren().add(new Label("Email"));
        emailBox.getChildren().add(new TextField());

        final HBox passwordBox = new HBox();
        passwordBox.getChildren().add(new Label("Password"));
        passwordBox.getChildren().add(new TextField());

        final HBox buttonBox = new HBox();
        final Button loginBtn = new Button("Login");<commit_msg>Lifecycle method is tested<commit_after>package com.cloudskol.jfxskol;

import javafx.application.Application;
import javafx.application.Platform;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.fxml.FXMLLoader;
import javafx.geometry.Pos;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception {
        System.out.println("start called");
//        Parent root = FXMLLoader.load(getClass().getResource("sample.fxml"));
        primaryStage.setTitle("Hello World");

        final VBox vBox = new VBox();
        vBox.setSpacing(10);
        renderUi(vBox);

        primaryStage.setScene(new Scene(vBox, 700, 400));
        primaryStage.show();
    }


    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void init() throws Exception {
        super.init();
        System.out.println("Init called");
    }

    @Override
    public void stop() throws Exception {
        super.stop();

        System.out.println("stop called");
    }

    private void renderUi(VBox container) {
        final HBox emailBox = new HBox();
        emailBox.setAlignment(Pos.CENTER_LEFT);
        emailBox.getChildren().add(new Label("Email"));
        emailBox.getChildren().add(new TextField());

        final HBox passwordBox = new HBox();
        passwordBox.getChildren().add(new Label("Password"));
        passwordBox.getChildren().add(new TextField());

        final HBox buttonBox = new HBox();
        final Button loginBtn = new Button("Login");
{'fraction_non_alphanumeric': 0.11718522826403024, 'fraction_numerical': 0.004652515266065717, 'mean_word_length': 3.4215938303341904, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2997591', 'n_tokens_mistral': 1009, 'n_tokens_neox': 987, 'n_words': 222}