import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.text.Font;
import javafx.stage.Stage;

public class Test extends Application {

    @Override
    public void start(Stage stage) {
        var label = new Label("Text🐶Text");
        label.setFont(new Font(40));

        Scene scene = new Scene(label);
        stage.setWidth(400);
        stage.setHeight(100);
        stage.setScene(scene);

        stage.show();
    }

    public static void main(String[] args) {
        launch(args);
    }

}
