import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;
import javafx.stage.Stage;

public class UnicodeTextTest2 extends Application {
    protected static final String FULL_UNICODE_SET;
    static {
        StringBuilder builder = new StringBuilder();
        for (int character = 1; character < 10000; character++) {
            char[] chars = Character.toChars(character);
            builder.append(chars);
        }
        FULL_UNICODE_SET = builder.toString();
    }

    @Override
    public void start(Stage stage) {
        VBox pane = new VBox(10);
        Scene scene = new Scene(pane, 800, 600);
        stage.setScene(scene);
        stage.show();
        Text text = new Text(FULL_UNICODE_SET);

        pane.getChildren().add(text);
    }

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

}
